.btn-action-custom {
    height: 33px;
    width: 33px;
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

.m-10 {
    margin: 10px;
}

.m-20 {
    margin: 20px;
}

@media (min-width: 576px) {
    .modal-sm {
        --bs-modal-width: 350px;
    }
}


/* .dataTables_info {
    display: contents;
} */

.dataTables_length label:before {
    /* content: "Showing 10 of 40 Results"; */
    margin-right: 5px;
}

.dataTables_length {
    display: none;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    display: inline-flex;
    align-items: center;
    /* Agar sejajar secara vertikal */
}

.dataTables_wrapper .dataTables_paginate {
    margin-left: auto;
    /* Dorong pagination ke kanan */
}

.edit-delete-action {
    display: flex;
    /* Mengubah menjadi flex container */
    gap: 5px;
    /* Memberikan jarak antar tombol */
    justify-content: center;
    /* Mengatur agar tombol tetap di tengah */
    align-items: center;
    /* Vertikal sejajar */
}

.card-header.align-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Menyelaraskan secara vertikal */
}

/* Margin Top */
.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.mt-30 {
    margin-top: 30px;
}

/* Margin Bottom */
.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Margin Left */
.ml-5 {
    margin-left: 5px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-15 {
    margin-left: 15px;
}

.ml-20 {
    margin-left: 20px;
}

.ml-25 {
    margin-left: 25px;
}

.ml-30 {
    margin-left: 30px;
}

/* Margin Right */
.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-15 {
    margin-right: 15px;
}

.mr-20 {
    margin-right: 20px;
}

.mr-25 {
    margin-right: 25px;
}

.mr-30 {
    margin-right: 30px;
}

.login-wrapper .login-content .login-logo {
    display: block;
    max-width: 406px;
    margin: auto;
    height: 170px;
}

.header .header-left .logo img {
    width: 210px;
    height: 65px;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.new-employee-field .image-upload {
    width: 120px;
    height: 39px;
    border: 0;
    background-color: var(--base-color);
    border-radius: 3px;
}


.info-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-label {
    width: 50px;
    /* Sesuaikan lebar agar rata */
    font-weight: 600;
}

.info-separator {
    margin: 0 5px;
}

.info-value {
    flex-grow: 1;
}

.action-table-data {
    display: flex !important;
    gap: 5px;
    justify-content: center !important;
    align-items: center !important;
}

.disable-input {
    background-color: var(--disable-color) !important;
}

.sidebar .sidebar-menu .submenu-open .submenu ul li a::after,
.sidebars .sidebar-menu .submenu-open .submenu ul li a::after {
    content: "";
    background: rgba(50, 71, 92, 0.38);
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    position: absolute;
    top: 16px;
    left: 10px;
}


.sidebar .sidebar-menu>ul>li.submenu-open ul li a,
.sidebars .sidebar-menu>ul>li.submenu-open ul li a {
    padding: 10px 10px 10px 10px;
}

.sidebar .sidebar-menu .submenu-open .submenu.submenu-two ul li a,
.sidebars .sidebar-menu .submenu-open .submenu.submenu-two ul li a {
    margin-left: 21px;
    padding-left: 30px;
    width: 90%;
    margin-top: 3px;
}

.mobile-user-menu {
    align-content: center;
}

.user-letter img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.span-required {
    color: red;
    position: relative;
    top: -3px;
}

.bg-white {
    background-color: white !important;
}

.card-subtitle {
    font-size: medium;
    font-weight: 600;
}


/* .select2-dropdown {
    z-index: 9999 !important;
}
.select2-container--open {
    z-index: 9999 !important;
}

.select2-close-mask {
    z-index: 9999 !important;
}

.select2-dropdown {
    z-index: 9999 !important;
}
.select2-container {
    z-index: 9999 !important; 
} */


.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    /* Optional: Add a semi-transparent background */
    padding: 10px;
}

.carousel-caption p:first-child {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.carousel-caption p:last-child {
    font-size: 0.9em;
}

.carousel-caption .carousel-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 5px;
}

.carousel-caption .carousel-description {
    font-size: 1.0em;
}

.carousel-indicators {
    margin-bottom: 0px;
    ;

}

.dataTables_wrapper {
    padding-bottom: 10px;
}

.signature-canvas {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.like-buttons {
    display: flex;
    gap: 10px;
    /* Space between the Like buttons */
    /* flex-direction: column; */
    justify-content: center;
    /* Center the buttons horizontally */
    /* margin-top: 10px; */
    /* Add some space between the two rows */
}

.table tbody tr td .like-buttons a:hover {
    color: #ffffff;
}

.icon-button-custom {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.loadingx {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}


.item-calendar {
    background-color: #28a745;
    width: 100%;
    padding: 4px 3px 3px 13px;
    border-radius: 10px;
    text-align: left;
}

.table tbody tr .action-table-data-hvr a:hover {
    /* color: var(--base-color); */
    color: white;
}



/* Styling untuk <td> */
.action-table-cell {
    height: 170px;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Styling untuk .btn-group (dua tombol per baris) */
.btn-group-row {
    display: flex;
    width: 100%;
    max-width: 300px;
    gap: 10px;
}

/* Styling untuk .btn-group (satu tombol per baris) */
.btn-group-single {
    display: flex;
    width: 100%;
    max-width: 300px;
}

/* Styling untuk tombol agar lebarnya sama atau penuh */
.btn-equal {
    flex: 1;
    min-width: 0;
    /* Mencegah tombol melebar berlebihan karena konten */
    width: 100%;
    /* Memastikan lebar penuh dalam flex container */
    box-sizing: border-box;
    /* Memastikan padding dan border tidak menambah lebar */
    white-space: nowrap;
    /* Mencegah teks membungkus ke baris baru */
    overflow: hidden;
    /* Memotong teks yang terlalu panjang */
    text-overflow: ellipsis;
    /* Menambahkan "..." jika teks terpotong */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

/* Styling untuk link di dalam tombol */
.btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    width: 100%;
    /*Memastikanlinkmengisitombol*/
    padding: 0 5px;
    /*Memberikansedikitpaddingagartekstidakterlalurapat*/
    box-sizing: border-box;

}

/* Styling untuk ikon Feather */
.feather-icon-15 {
    height: 15px;
    width: 15px;
    flex-shrink: 0;
    /* Mencegah ikon menyusut */
}

.sidebar .sidebar-menu .submenu-open .submenu ul li a,
.sidebars .sidebar-menu .submenu-open .submenu ul li a {
    margin-left: 25px;
    padding-bottom: 4px;
    font-size: 14px;
    color: rgb(118 118 118);
}

/* /////////////////////////////////////////////////////////////////////////////////////////  */


/* Menggunakan Bootstrap, jadi kita hanya styling yang spesifik untuk halaman ini */

/* Styling container utama untuk halaman appointment */
.appointment-container {
    /* Tidak perlu display: flex lagi karena menggunakan grid Bootstrap */
}

/* Styling bagian list untuk halaman appointment */
.appointment-list-section {
    /* Tidak perlu flex karena menggunakan col-lg-9 */
}

/* Styling bagian filter untuk halaman appointment */
.appointment-filter-section {
    /* Tidak perlu flex karena menggunakan col-lg-3 */
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Styling card untuk setiap data pasien */
.appointment-card .card {
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Styling header card (kotak waktu dan badge) */
.appointment-time-header {
    background-color: #d9d9d9;
    border-bottom-width: 7px !important;
}

.appointment-badge {
    margin-right: 10px;
}

/* Styling card body */
.appointment-card .card-body {
    padding: 15px;
}

/* Styling informasi pasien */
.appointment-patient-info {
    line-height: 1.6;
    font-size: 14px;
}

.appointment-patient-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.appointment-patient-info .badge {
    margin-right: 5px;
}

.appointment-patient-info span {
    display: inline-block;
    margin-bottom: 5px;
}

/* Styling informasi dokter */
.appointment-doctor-info {
    line-height: 1.6;
    font-size: 14px;
}

.appointment-doctor-info span {
    display: inline-block;
    margin-bottom: 5px;
}

/* Styling tombol aksi */
.appointment-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Styling pagination */
.appointment-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.appointment-pagination div {
    font-size: 14px;
    color: #333;
}

.nav.tab-style-1x .nav-link.active {
    background-color: #e2e2e2 !important;
    color: black !important;
    box-shadow: 0px 4px 60px 0px rgba(231, 231, 231, 0.47);
    transition: color 0.15s ease-in;
}

.tab-style-1x li a {
    font-size: 13px;
}

.nav.tab-style-1x .nav-item {
    margin-top: 10px;
    margin-bottom: 10px;
}

.nav.tab-style-1x .nav-link {
    background-color: #ededed !important;
    padding: 7px;
}

/* Media query untuk layar kecil */
@media (max-width: 991px) {
    .appointment-filter-section {
        position: static; /* Hilangkan sticky pada layar kecil */
        margin-top: 20px; /* Beri jarak atas ketika berada di bawah */
    }
}

.hidden-md {
    @media (min-width: 768px) and (max-width: 991.98px) {
      display: none !important;
    }
  }
  
  .hidden-sm {
    @media (min-width: 576px) and (max-width: 767.98px) {
      display: none !important;
    }
  }
  
  .hidden-xs {
    @media (max-width: 575.98px) {
      display: none !important;
    }
  }


.nav.tab-style-2x .nav-item {
    margin-top: 5px;
    margin-bottom: 5px;
}

.nav.tab-style-2x .nav-link {
    background-color: #ededed !important;
    padding: 7px;
    color: var(--base-color);
}

.table tbody tr td {
    color: var(--font-color);
    font-size: 14px !important;
}

.accordion-body {
    color: var(--font-color);
}

.accordion-button {
    color: var(--font-color) !important;
}

table tbody td.action-table-data a .feather-edit {
    width: 16px;
    height: 16px;
}

.text-right{
    text-align: right !important;
}


.mr-2{
    margin-right: 2px;
}
.hiddenx{
    display: none !important;
}
/* Hidden di extra small (<576px) */
.hidden-xs {
    display: none;
  }
  @media (min-width: 576px) {
    .hidden-xs {
      display: block;
    }
  }
  
  /* Hidden di small (<768px) */
  .hidden-sm {
    display: block;
  }
  @media (max-width: 767.98px) {
    .hidden-sm {
      display: none;
    }
  }
  
  /* Hidden di medium (<992px) */
  .hidden-md {
    display: block;
  }
  @media (max-width: 991.98px) {
    .hidden-md {
      display: none;
    }
  }
  
  /* Hidden di large (<1200px) */
  .hidden-lg {
    display: block;
  }
  @media (max-width: 1199.98px) {
    .hidden-lg {
      display: none;
    }
  }
  
  /* Hidden di extra large (<1400px) */
  .hidden-xl {
    display: block;
  }
  @media (max-width: 1399.98px) {
    .hidden-xl {
      display: none;
    }
  }
  
  /* Hidden di extra extra large (≥1400px) */
  .hidden-xxl {
    display: block;
  }
  @media (min-width: 1400px) {
    .hidden-xxl {
      display: none;
    }
  }

.details-table {
    width: 100%;
    border-collapse: collapse;
}
.details-table td {
    padding: 4px;
    vertical-align: top;
}
.details-table .colon {
    width: 10px;
}

.total-fee-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.total-fee-box {
    background-color: #e9ecef;
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-fee-label {
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
}

.total-fee-amount {
    font-size: 14px;
    font-weight: 700;
    color: #007bff;
}

.feather-size-20{
    width:20px;height:20px;
}

.text-end {
    text-align: end;
}

.br-5{
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}

.mt-m-4{
    margin-top: -4px !important;
}

.fs-12{
    font-size: 12px !important;
}

.btn-block{
    color: darkslategrey;
}

.btn-block:hover{
    background-color: rgb(238, 238, 238);
}