@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
    scrollbar-width: thin;
    scrollbar-color: var(--placeholder) var(--gray-first);
  }
  
  /* Chrome, Edge and Safari */
  *::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }
  *::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--gray-first);
  }
  
  *::-webkit-scrollbar-track:hover {
    background-color: var(--gray-first);
  }
  
  *::-webkit-scrollbar-track:active {
    background-color: var(--gray-first);
  }
  
  *::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--placeholder);
  }
  
  *::-webkit-scrollbar-thumb:hover {
    background-color: var(--placeholder);
  }
  
  *::-webkit-scrollbar-thumb:active {
    background-color: var(--placeholder);
  }
:root {

      /* Typography */   
    --base-fonts: "Inter", sans-serif;    
    --text-10: 10px;
    --text-12: 12px;
    --text-14: 14px;
    --base-text: 16px;       
    --text-17: 17px; 
    --text-18: 18px;    
    --text-20: 20px;
    --text-22: 22px;
    --text-24: 24px;
    --text-26: 26px;
    --text-30: 30px;
    --text-32: 32px;
    --text-35: 35px;
    --text-40: 40px;
    --text-50: 50px;


    /* Colors */
     --base-color: #001C27; 
    --primary: #216576;
    --primary-dark: #174b57;
    --red-color: #d40909;
    --red-color-dark: #a70707;
    --close-gray: #E7E7E7;
    --radio-border: #393E46;
    --slogan-gray: #505762;
    --placeholder: #A7A7A7;
    --gray-btn-bg:#f0f0f0;
    --label-gray:#818181;
    --gray-bg:#F4F6F9;



    --card-hover: #DF6368;
    --yellow: #EFC01A;
    --primary-light: #FBE9EA;    
    --primary-selected-check:#FFFAF9;
    --white: #ffffff;
    --gray-field:#E2E6EB;
    --gray-booking-bg:#fafafa;
    --gray-progress:#D9D9D9;
    --gray-header-border:#DEE5EA;
    --gray-first:#EEEEF0;
    --gray-second:#AAA1A0;
    --gray-third:#FAF8F8;
    --gray-fourth:#F5F5F5;
    --gray-fifth:#F6F6F6;
    --gray-sixth:#D3D7D8;
    --gray-seventh:#BDBDBD;
    --gray-eighth:#D0CFCF;
    --gray-nav:#848484;
    --gray-border:#E8DADA;
    --gray-box-border:#E4E2E2;
    --gray-card:#212838;
    --gray-card-service:#E8E8E8;
    --gray-section-bg:#F5F7F9;
    --primary-selected:#e9f9ff;
    --primary-sidebar:#FAE9E9;
    --cart-bg:#F6F8F9;
    --cart-border:#D0E2EA;


    /* Car colors */
    --car-black:#000000;
    --car-white:#ffffff;
    --car-gray-dark:#9C9292;
    --car-silver:#D7D3D3;


    /* Border Rounded */  
    --border-r-6: 6px;
    --border-r-8: 8px;
    --border-r-10: 10px;
    --border-r-12: 12px;
    --border-r-15: 15px;
    --border-r-20: 20px;
    --border-r-30: 30px;
    --border-r-100: 100px;
 
    


}

/*--------------General CSS---------*/




body {
    margin: 0;
    padding: 0;
    color: var(--base-color);
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-text-stroke: 1px transparent;
    font-size: var(--base-text);
    font-family:var(--base-fonts);
    font-weight: 400;
    width: 100%;
    background-color: var(--body-bg);
    overflow: auto;
}



img {
    border: 0 none;
    max-width: 100%;
}

a {
    outline: none;
    cursor: pointer;
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

a,
button,
.btn {
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
}



/*-----------------------main styles starts here-----------------------------------------------*/

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}



/*=====================================	PLACE HOLDER CSSS START HERE 		====================================*/
.form-control::-moz-placeholder {
    color:var(--placeholder);
    opacity:1
  }
  .form-control::placeholder {
    color:var(--placeholder);
    opacity:1
  }
  .form-control:-ms-input-placeholder {
    color: var(--placeholder);
    opacity: 1;
  }
  .input-group-text {font-size: var(--text-14); background-color: var(--close-gray);}
input.form-control,
textarea.form-control,
select.form-control {
    background-color: var(--white);
    border: 1px solid var(--close-gray);
    border-radius: var(--border-r-30);
    box-shadow: none;
    font-size: var(--text-14);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
    color: var(--base-color);
    padding: 10px 20px;
    font-weight: 400;
}
select.form-control {background-image: url(../images-nct/select-arrow.svg); background-position: 97% center; background-repeat: no-repeat; background-size: 24px 24px;}
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus
{box-shadow: none; border: 1px solid var(--base-color);}
textarea.form-control {
    height: auto;
    overflow: auto;
    white-space: normal;
    resize: none;
}

.form-group {
    margin-bottom:20px;
}
.radio-group {display: flex; gap: 15px; align-items: center; flex-wrap: wrap;}
.form-check-input:checked[type=radio] {background-image: none; border-color: var(--primary); background-color: transparent; display: flex; align-items: center; justify-content: center;}
.form-check-input:checked[type=radio]::before {width: 14px; height: 14px; display: inline-block; border-radius: 50%; background-color: var(--primary); content: "";}
.form-check {display: flex; padding: 0; gap: 10px; align-items: self-start;}
.form-check .form-check-input {box-shadow: none; outline: none; width: 24px; height: 24px; min-width: 24px; min-height: 24px;  border-color: var(--close-gray); margin: 0px;}
.form-check-input:checked[type="checkbox"] {background-image: url(../images-nct/check.svg); background-repeat: no-repeat; background-position: center center; background-color: var(--white); background-size: 12px auto; border-color: var(--primary); box-shadow: none; outline: none; background-color: var(--primary);}
/*===================================== Commen Butons ===================================*/

.lg-btn {
    border-radius: var(--border-r-30);
    border: none;
   background-color:var(--primary);
    text-align: center;
    color: var(--white);
    padding: 13px 36px;
    font-size: var(--text-18);
    font-weight: 600;
    line-height: 1.40022222;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
     border: 1px solid var(--primary);
    
}

.lg-btn:hover,
.lg-btn:focus {
    background-color: var(--primary-dark);
     border: 1px solid var(--primary-dark);
    color: var(--white);
}
.lg-btn-border {
   border-radius: var(--border-r-30);
    border: none;
   background-color:var(--white);
    text-align: center;
    color: var(--primary);
    padding: 13px 36px;
    font-size: var(--text-18);
    font-weight: 600;
    line-height: 1.40022222;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
    border: 1px solid var(--primary);
    
}

.lg-btn-border:hover,
.lg-btn-border:focus {
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: var(--white);
}
.google-btn {
    border-radius: var(--border-r-30);
    background-color: var(--gray-btn-bg);
    text-align: center;
    color: var(--base-color);
    padding: 12px 36px;
    font-size: var(--text-18);
    font-weight: 600;
    line-height: 1.40022222;
  
    
}

.google-btn:hover,
.google-btn:focus {
    background-color: var(--gray-btn-bg);
    color: var(--base-color);
}


.medium-btn-border {
    border-radius: var(--border-r-30);
    border: 1px solid var(--primary);
    background-color: transparent;
    text-align: center;
    color: var(--primary);
    padding: 9px 15px;
    font-size: var(--base-text);
    font-weight: 700;
    line-height: 1.40022222;
    
}

.medium-btn-border:hover,
.medium-btn-border:focus {
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: var(--white);
}
.medium-btn {
    border-radius: var(--border-r-30);
    border: 1px solid var(--primary);
    background-color: var(--primary);
    text-align: center;
    color: var(--white);
    padding: 9px 15px;
    font-size: var(--base-text);
    font-weight: 700;
    line-height: 1.40022222;
    
}

.medium-btn:hover,
.medium-btn:focus {
    border: 1px solid var(--primary-dark);
    background-color: var(--primary-dark);
    color: var(--white);
}
.medium-btn-close {
    border-radius: var(--border-r-30);
    border: 1px solid var(--gray-bg);
    background-color: var(--gray-bg);
    text-align: center;
    color: var(--slogan-gray);
    padding: 9px 15px;
    font-size: var(--base-text);
    font-weight: 700;
    line-height: 1.40022222;
    
}

.medium-btn-close:hover,
.medium-btn-close:focus {
    border: 1px solid var(--gray-bg);
    background-color: var(--gray-bg);
    color: var(--base-color);
}
.sm-btn {
    border-radius: var(--border-r-6);
    border: 1px solid var(--primary);
    background-color: var(--primary);
    text-align: center;
    color: var(--white);
    padding: 7px 8px;
    font-size: var(--text-14);
    font-weight: 700;
    line-height: 1.40022222;
    
}

.sm-btn:hover,
.sm-btn:focus {
    border: 1px solid var(--primary-dark);
    background-color: var(--primary-dark);
    color: var(--white);
}

.sm-btn-remove {
    border-radius: var(--border-r-6);
    border: 1px solid var(--red-color);
    background-color: var(--red-color);
    text-align: center;
    color: var(--white);
    padding: 7px 8px;
    font-size: var(--text-14);
    font-weight: 700;
    line-height: 1.40022222;
    
}

.sm-btn-remove:hover,
.sm-btn-remove:focus {
    border: 1px solid var(--red-color-dark);
    background-color: var(--red-color-dark);
    color: var(--white);
}



.btn-block .btn {margin-right: 15px;}
.btn-block .btn:last-child {margin: 0;}

.dashboard-welcome{
    font-size: 32px;
    font-weight: 700;
    color: #2c8a73;
    margin-bottom: 50px ;
}
/*
.dashboard-title{
    font-size: 24px;
    font-weight: 600;
    color: #10443E;
}
*/
.navbar-brand {
    height: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
    z-index: 5;
}
.navbar-brand img {max-width: 50px;}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-header-border);
    background-color: var(--white);
    z-index: 100;
    padding: 0;
}
.menu.btn12 {display: none;}
.profile-menu .dropdown-toggle {display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);}
header .profile-menu .dropdown-toggle:hover, header .profile-menu .dropdown-toggle:focus {background-color:var(--white);}
.profile-menu .dropdown-toggle img {border-radius: 50%;}
/* Booking Steps */
.booking-header {background-color: var(--white);}
.nav-icon-btn {display: flex; align-items: center; justify-content: center; border-radius: var(--border-r-10); border: 1px solid var(--close-gray); border-radius: 50%;}
header .nav-link {margin-left: 20px;}
.nav-icon-btn .profile-pic {width: 100%; height: 100%;border-radius: var(--border-r-10);}
.nav-icon-btn:hover, .nav-icon-btn:focus {background-color: var(--close-gray);}
.navbar-expand .navbar-nav .header-btn {background-color: var(--primary); color: var(--white); border-radius: var(--border-r-6); font-size: var(--base-text); font-weight: 600; padding: 7px 25px;}
.navbar-expand .navbar-nav .header-btn:hover, .navbar-expand .navbar-nav .header-btn:focus {background-color: var(--primary-dark); color: var(--white);}
.profile-menu .dropdown-toggle::after {display: none;}
.auth-main { min-height: 100vh; margin-top: 0;} 
.auth-bg {position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: #19715C; opacity:1;} 
/* .auth-bg {position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(45deg,  #80d7e6 0%,#ffffff 46%,#80d7e6 100%); opacity: 0.2;}  */
.auth-section {padding:50px 0; position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh;}
.auth-section .container {position: relative; z-index: 1;}
.bg-img {position: fixed; width: 100%; height: 100%; left: 0; top: 0;}
.bg-img img {width: 100%; height: 100%; object-fit: cover;}
.auth-box {background-color: var(--white); border-radius: var(--border-r-20); width: 550px; margin: 0 auto; padding: 50px;box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);}
.auth-top {margin-bottom: 25px;}
.auth-section h1 {font-size: var(--text-22); font-weight: 700; margin: 20px 0 0px; text-align: center;}
.form-title {font-size: var(--text-22); font-weight: 700; margin: 0px 0px 20px; text-align: center;}
.auth-section figure {margin: 0 auto; text-align: center;}
.password-field {position: relative;}
.password-field .form-control { padding-right: 40px;}
.password-field .eye {position: absolute; right: 15px; top: 9px; padding: 3px; display: inline-block; opacity: 0.25;} 
.forgot-block {display: flex; align-items: center; justify-content: space-between; gap: 10px;}
.auth-bottom {margin-top: 25px;}
.or-line {
    border: 1px dashed var(--close-gray);
    height: 2px;
    position: relative;
    margin: 30px 0;
}
.or-line span {
    background-color: var(--white);
    padding: 5px;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 70px;
    top: -16px;
    color: var(--gray-nav);
}
.inner-main {
	margin-top: 10px;
	padding-top:5px !important;
}

.patient-card {padding: 16px; border-radius: var(--border-r-10); color: var(--base-color); border: none;}
.patient-card:hover { box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);}
.patient-card .card-top {border-radius: var(--border-r-10);}
.patient-card .card-top img {border-radius: var(--border-r-10); width: 100%;}
.apoiment-list, .profile-page, .inner-pages {padding: 50px 0;min-height: calc(100vh - 132px);}
.patient-card .card-title {font-size: var(--text-20); font-weight: 600; margin-bottom: 5px;}
.pt-info  {display: flex; width: 100%; gap: 8px; }
.info-cell {display: flex; gap: 5px; border-radius: var(--border-r-6); border: 1px solid var(--close-gray); padding: 4px 6px; align-items: center; font-weight: 600; font-size:var(--text-14);}
.pt-info .pt-icon {font-size: var(--base-text); color: var(--label-gray); font-weight: 400;}
.list-title {display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;}
.pt-problem {margin-bottom: 0; font-weight: 600; color: var(--primary); border-radius: var(--border-r-15); display: inline-block;  padding: 3px 10px; background-color: rgb(33, 101, 118, 0.10);}
.patient-card .card-footer {background-color: transparent; border: none; }

.gray-bg {background-color: var(--gray-bg);}
footer {padding: 20px 0; border-top: 1px solid var(--close-gray);}
.copyright {margin-bottom: 0;color: var(--slogan-gray)}
.footer-nav {display: flex; gap: 20px; justify-content: end;}
.footer-nav li a {color: var(--slogan-gray);}
.footer-nav li a:hover, .footer-nav li a:focus {color: var(--base-color);}  


.modal .medium-btn, .modal .medium-btn-close {min-width: 110px;}
.modal-content {border-radius: var(--border-r-20);}
.common-white-box {background-color: var(--white); border-radius: var(--border-r-20); box-shadow: 0 0 15px rgba(0, 0, 0, 0.07); padding: 70px;}
.profile-box {width: 100%; max-width: 780px; margin: 0 auto;}
.profile-photo {width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; margin: 0 auto; background-color: var(--white); box-shadow: 0 0 6px rgba(0, 0, 0, 0.07); border-radius: 50%; position: relative;}
.user-edit {position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.60); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0;-webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;}
.profile-photo:hover .user-edit {opacity: 1;}

.profile-photo .fa {font-size: var(--text-35); color: var(--close-gray);}
.profile-photo img {border-radius: 50%;}
.upload-block {
    display: block;
    margin: 0 auto;
    position: relative;
    text-align: center;
}
.upload-btn {font-size: var(--base-text); color: var(--primary);display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 6px;  position: relative; width: 35px; height: 35px; border-radius: 50%; background-color: var(--white); cursor: pointer;}
.upload-btn input[type=file] {visibility: hidden; width: 100%;height: 100%; position: absolute; left: 0; top: 0; font-size: 100px; cursor: pointer;}
.upload-btn:hover, .upload-btn:focus {color: var(--primary-dark); }

.delete-btn {font-size: var(--base-text); color: var(--primary);display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 6px;  position: relative; width: 35px; height: 35px; border-radius: 50%; background-color: var(--white); color: var(--red-color);}
.edit-btns {display: flex; gap: 8px;}

.section-title {font-size: var(--text-24); font-weight: 700; margin: 0 0 15px; color: var(--primary);}
.slot-block {margin-bottom: 30px;}
.slot-block:last-child {margin-bottom:0px;}
.common-tabs { padding: 0 0 0; justify-content: center;border-bottom-color: var(--close-gray);}
.nav-tabs.common-tabs .nav-link {font-size: var(--text-20); padding: 10px 30px; color: var(--slogan-gray); min-width: 160px; border: none; outline: none; box-shadow: none; border-radius:0px; border-bottom: 2px solid transparent;}
.common-tabs.nav-tabs .nav-link.active {background-color:transparent; color: var(--primary); font-weight: 700;border-bottom: 2px solid var(--primary);}
.list-container {padding: 30px 0;}
.tab-filter .form-group {margin-top: 20px; margin-bottom: 20px;}
.tab-filter .form-control {height: 40px;}
.tab-filter .tab-search {position: relative;}
.tab-filter .tab-search-btn {position:absolute; right: 15px; top: 4px; border: none; outline: none; background-color: transparent; padding: 4px; color: var(--slogan-gray);}

.icon-check {position: relative;} 
.icon-check [type="radio"] {position: absolute; width: 100%; height: 100%; opacity: 0;}
.icon-check .form-radio:checked + .radio-label {
  color: var(--primary);
  border-color: var(--primary);
  background-color: rgb(33, 101, 118, 0.10);
}
.fom-sm {max-width: 480px; margin: 0 auto;}

.icon-check .form-radio + .radio-label .icon img  {filter: grayscale(100); }
.icon-check .form-radio:checked + .radio-label .icon img  {filter: none; }

.icon-check .radio-label.radio-icon-v {
  flex-direction: column;
  width: 100%; height: 170px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.icon-check .radio-label {
  border: 1px solid var(--close-gray);
  display: block;
  border-radius: var(--border-r-12);
  position: relative;
  color: var(--base-color);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-22);
}
.icon-check .radio-label > .icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center; 
  
}
.icon-check .radio-label > .r-label {
  font-size:var(--text-20);
  font-weight: 600;
  display: block;
}

.time-check-sm .radio-label {padding:12px;}
.time-check-sm .radio-label > .r-label {font-size:var(--text-14); font-weight:400;}
.form-label {font-weight:600;}
.time-check-sm .radio-label {justify-content: center;}
.time-check-sm .radio-label {border-radius: var(--border-r-20);background-color: var(--white);}
.select-time-slot {padding:15px; border-radius: var(--border-r-20); background-color: #f9fafb;}
.multy-select.select2-container-multi .select2-choices {border: 1px solid var(--close-gray);
    border-radius: var(--border-r-30); padding: 10px 20px; min-height:50px; display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;}
    
.multy-select.select2-container-multi .select2-choices .select2-search-choice {background-color:#eeeeee; border-color:var(--close-gray);border-radius:var(--border-r-10); display: inline-flex;
    align-items: center;
    gap: 8px;
    float: none; padding: 5px 9px 5px 20px;  font-size: 14px; margin:0;}

.select2-container-multi.multy-select  .select2-search-choice-close {top:5px; }
.input-group-text {border-radius: var(--border-r-30); min-width:46px; text-align:center;justify-content: center;}
.k-slot-container {padding-bottom:10px; margin-bottom:15px;    border-radius: 20px;
    background-color: #f9fafb;
    padding: 8px;}
.slot-top {display:flex; align-items:center;     justify-content: space-between; margin-bottom: 10px;}
.delete-account-block .delete-icon-lg { width:80px; height:80px; background-color:var(--red-color); display:flex; align-items:center; margin:0 auto 20px;  justify-content:center; border-radius: 50%; font-size:30px; color:#ffffff;}
.delete-account-block {text-align:center;}
.delete-account-block p {font-size: var(--text-14);
    color: var(--label-gray); margin-bottom:25px;}
.edit-profile-btn

 {
    width: 50px;
    height: 50px;
    display: flex;
    position: absolute;
    right: 30px;
    top: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: var(--text-22);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.edit-profile-btn:hover, .edit-profile-btn:focus {box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);}
.profile-cell {border-bottom: 1px solid var(--close-gray); padding-bottom:10px; margin-bottom: 10px;}
.profile-cell:last-child {border-bottom: none; padding-bottom: 0; margin-bottom: 0;}
.profile-user-info {display: flex; align-items: center; gap: 15px;}
.profile-pic {width: 100px; height: 100px; min-width: 100px; min-height: 100px; display: flex; align-items: center; justify-content: center;  background-color: var(--white); box-shadow: 0 0 6px rgba(0, 0, 0, 0.07); border-radius: 50%; position: relative; overflow: hidden;}
.user-info h3 {font-size: var(--text-20); margin: 0 0 10px;}
.profile-partner-id{
	margin-left:auto;
	font-size:14px;
	font-weight:600;
}
.user-icon-block {display: flex; width: 100%; margin-bottom: 10px; gap: 6px; align-items: baseline; color: var(--slogan-gray);}
.user-icon-block:last-child {margin-bottom: 0;}
.user-icon-block i {color: #bdbdbd; font-size: var(--text-18); min-width: 24px;}
.profile-info-block h4 {font-size: var(--base-text); font-weight: 600; margin: 0;}
.tags {display: flex; align-items: center; gap:8px;}
.tag {background-color: #eeeeee;
    border-color: var(--close-gray);
    border-radius: var(--border-r-10);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    float: none;
    padding: 5px 9px;
    margin: 0;}
.slot-view {background-color: #f9fafb; border-radius: var(--border-r-20); padding:10px 20px;}
.slot-th {width: 100px;}
.unb-label {color: var(--red-color);}
.tags-time {display: flex; align-items: center; gap:8px; flex-wrap: wrap;}
.tag-time {background-color: var(--white);
    border:1px solid var(--close-gray);
    border-radius: var(--border-r-10);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    float: none;
    padding: 5px 9px;
    margin: 0;}
.slot-view .table tr:last-child td, .slot-view .table tr:last-child th {border-bottom: none;}    
.loader-widget {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgba(33, 101, 118, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}
.jconfirm .row {
    justify-content: center;
}

.no-data-card {text-align: center; padding: 30px; padding: 16px;
    border-radius: var(--border-r-10);
    color: var(--base-color); max-width: 550px; margin: 25px auto; }
.no-data-card h3 {font-size: var(--text-22); margin: 0 0 5px; color: var(--primary); font-weight: 700;}
.no-data-card p { margin: 0px; color: var(--slogan-gray);} 
.no-data-card figure img {max-width: 200px; opacity: 0.60;}
.pagination {justify-content: center; align-items:center;}

.pagination li a {padding: 0;
    margin: 0 2px;
    font-size: var(--text-18);
    color: var(--base-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    min-height: 35px;
    width: 35px;
    height: 35px; font-weight:600;}
.pagination .page.active a {border-radius:50%; background-color:var(--primary); color: var(--white); font-weight:700;}

.pagination .disabled a {color: var(--label-gray);}

.btn-link {color:var(--primary); }
.btn-link:hover, .btn-link:focus {color:var(--primary-dark); text-decoration: none;}
.inner-spacer {padding:30px 0;}

.inner-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:20px;
}
.inner-title h1 {font-size: var(--text-22);
    font-weight: 700;
    margin:0;
    text-align: center;}
.action-btns {display:flex; 
    align-items: center;
    gap: 10px;}    
    
.action-btn {width:35px; height:35px; border-radius:50%; border:1px solid var(--primary);     display: flex;
    align-items: center;
  
    justify-content: center;}    
    .table-box {padding:30px;}
    
    .common-table th:first-child {
    border-radius: var(--border-r-10) 0 0;
}
.common-table {font-size: var(--text-14); }
.common-table th:last-child {
    border-radius: 0 var(--border-r-10) 0 0;
}
.common-table th {
    background-color: var(--gray-bg);
    border-bottom: none;
    box-shadow: none;
    font-size: var(--base-text);
    font-weight: 600;
}
.common-table th, .common-table td {
    padding: 15px 15px;
    white-space:nowrap;
}
.common-table .tags {min-width:200px; flex-wrap:wrap;}
.my-doctors .container {max-width:1420px;}

.dashboard-content-wrapper {
	margin-top: 100px;
}

.clinic-gallery-upload-box{
    border:1px dashed #ccc;
    padding:15px;
    border-radius:10px;
    background:#fafafa;
}

.clinic-gallery-preview{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.gallery-preview-item img{
    width:160px;
    height:120px;
    object-fit:cover;
    border-radius:10px;
    border:1px solid #ddd;
    padding:3px;
    background:#fff;
}

.clinic-gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:15px;
    margin-top:15px;
}

.clinic-gallery-image{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:12px;
    border:1px solid #e5e5e5;
    transition:0.3s;
    cursor:pointer;
    background:#f5f5f5;
}

.clinic-gallery-image:hover{
    transform:scale(1.02);
}

.clinic-gallery-item{
    position:relative;
}

.gallery-menu-wrapper{
    position:absolute;
    top:10px;
    right:10px;
    opacity:0;
    visibility:hidden;
    transition:0.2s;
    z-index:10;
}

.clinic-gallery-item:hover .gallery-menu-wrapper{
    opacity:1;
    visibility:visible;
}

.gallery-menu-btn{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,0.7);
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

.gallery-dropdown{
    position:absolute;
    top:45px;
    right:0;
    background:#fff;
    min-width:150px;
    border-radius:10px;
    box-shadow:0 4px 20px rgba(0,0,0,0.15);
    display:none;
    overflow:hidden;
}

.gallery-dropdown a{
    display:block;
    padding:12px 15px;
    color:#333;
    text-decoration:none;
    font-size:14px;
    border-bottom:1px solid #f2f2f2;
}

.gallery-dropdown a:hover{
    background:#f8f8f8;
}

.gallery-dropdown a:last-child{
    border-bottom:none;
    color:#e53935;
}

/* VIEW IMAGE MODAL */
.gallery-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.92);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
}

.gallery-modal-image{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}

.gallery-close-btn,
.gallery-prev-btn,
.gallery-next-btn{
    position:absolute;
    background:rgba(255,255,255,0.15);
    color:#fff;
    border:none;
    cursor:pointer;
    z-index:100000;
}

.gallery-close-btn{
    top:25px;
    right:30px;
    width:45px;
    height:45px;
    border-radius:50%;
    font-size:28px;
}

.gallery-prev-btn{
    left:30px;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:70px;
    font-size:32px;
    border-radius:10px;
}

.gallery-next-btn{
    right:30px;
    top:50%;
    transform:translateY(-50%);
    width:50px;
    height:70px;
    font-size:32px;
    border-radius:10px;
}

/* DELETE IMAGE MODAL */
.gallery-delete-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.gallery-delete-modal-content{
    width:100%;
    max-width:420px;
    background:#fff;
    border-radius:16px;
    padding:30px;
    position:relative;
    text-align:center;
}

.gallery-delete-close{
    position:absolute;
    top:15px;
    right:15px;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
    line-height:1;
}

.gallery-delete-modal h3{
    margin-bottom:12px;
}

.gallery-delete-modal p{
    margin-bottom:25px;
    color:#666;
}

.gallery-delete-actions{
    display:flex;
    gap:12px;
    justify-content:center;
}

.gallery-cancel-btn,
.gallery-confirm-delete-btn{
    border:none;
    padding:12px 22px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

.gallery-cancel-btn{
    background:#f1f1f1;
}

.gallery-confirm-delete-btn{
    background:#e53935;
    color:#fff;
}

.btn-ehw-green {
    background-color: #32745c;
    border-color: #32745c;
    color: #ffffff;
}

.btn-ehw-green:hover {
    background-color: #0d3833;
    border-color: #0d3833;
    color: #ffffff;
    transform: translateY(-1px);
}

.ehw-btn-primary {
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.2s ease;
}

.ehw-btn-primary:hover {
    background: #1b5e20;
    color: #fff;
}

.ehw-btn-secondary {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.2s ease;
}

.ehw-btn-secondary:hover {
    background: #d0f0d4;
}

/* ANALYTICS */

.analytics-major-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.analytics-section-title {
    font-size: 23px;
    font-weight: 700;
    color: #102735;
    margin: 0 0 28px 0;
    padding: 14px 18px;
    border-left: 5px solid #216567;
    border-bottom: 1px solid #e2e8ea;
    line-height: 1.3;
}

.analytics-date-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 36px;
}

.analytics-export {
    padding-bottom: 0;
}

.analytics-date {
    max-width: 490px;
}

.analytics-date label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #102735;
}

.analytics-date .form-control {
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #dfe6e8;
    border-radius: 10px;
    background: #ffffff;
    color: #102735;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(16, 39, 53, 0.04);
    transition: all 0.2s ease;
}

.analytics-date .form-control:focus {
    border-color: #216567;
    box-shadow: 0 0 0 3px rgba(33, 101, 103, 0.10);
    outline: none;
}

.analytics-subsection {
    margin-left: 18px;
    margin-bottom: 42px;
}

.analytics-subsection-title {
    margin: 0 0 18px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #e2e8ea;
    color: #102735;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

/* ANALYTICS SUMMARY CARDS */

.analytics-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 28px 0;
}

.analytics-summary-item {
    position: relative;
    min-height: 125px;
    padding: 22px 22px 20px;
    border: 1px solid #e1e9eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 39, 53, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analytics-summary-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #216567;
}

.analytics-summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(16, 39, 53, 0.09);
}

.analytics-summary-label {
    margin-bottom: 12px;
    color: #6b7c83;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.analytics-summary-value {
    color: #102735;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.analytics-summary-comparison {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.analytics-growth {
    color: #198754;
}

.analytics-decline {
    color: #dc3545;
}

/* SERVICE PERFORMANCE TABLE */

.analytics-subsection .table {
    width: 100%;
    margin: 0;
    border: 1px solid #dfe6e8;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(16, 39, 53, 0.04);
}

.analytics-subsection .table thead th {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #dfe6e8;
    background: #f3f7f8;
    color: #102735;
    font-size: 13px;
    font-weight: 700;
    vertical-align: middle;
}

.analytics-subsection .table tbody td {
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid #edf1f2;
    color: #334b55;
    font-size: 14px;
    vertical-align: middle;
}

.analytics-subsection .table tbody tr:last-child td {
    border-bottom: 0;
}

.analytics-subsection .table tbody tr {
    transition: background-color 0.15s ease;
}

.analytics-subsection .table tbody tr:hover {
    background: #f8fbfb;
}

.analytics-subsection .table th:nth-child(2),
.analytics-subsection .table td:nth-child(2) {
    width: 180px;
    text-align: center;
}

.analytics-subsection .table th:nth-child(3),
.analytics-subsection .table td:nth-child(3) {
    width: 220px;
    text-align: right;
}

.analytics-subsection .table tbody td:nth-child(2) {
    color: #216567;
    font-weight: 600;
}

.analytics-subsection .table tbody td:nth-child(3) {
    color: #102735;
    font-weight: 600;
}

@media (max-width: 1100px) {

    .analytics-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .analytics-section-title {
        font-size: 20px;
        margin-bottom: 22px;
    }

    .analytics-subsection {
        margin-left: 0;
    }

    .analytics-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .analytics-summary-item {
        min-height: 110px;
    }

    .analytics-subsection .table {
        min-width: 650px;
    }

    .analytics-subsection {
        overflow-x: auto;
    }
}

/* CASH FLOW STATEMENT TABLE */

.analytics-cash-flow-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.analytics-cash-flow-table {
    width: 100%;
    margin: 0;
}

.analytics-cash-flow-table thead th {
    text-align: center;
    padding: 14px 16px;
}

.analytics-cash-flow-table tbody td {
    padding: 0;
    vertical-align: top;
}

.analytics-cash-flow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f2;
    color: #334b55;
    font-size: 14px;
    line-height: 1.4;
}

.analytics-cash-flow-row:last-child {
    border-bottom: 0;
}

.analytics-cash-flow-row span:first-child {
    font-weight: 500;
}

.analytics-cash-flow-row span:last-child {
    margin-left: 20px;
    color: #102735;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.analytics-cash-flow-payment-methods {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 16px !important;
    border-top: 1px solid #dfe6e8;
    background: #f8fafb;
    color: #334b55;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.analytics-cash-flow-payment-item {
    display: inline-flex;
    align-items: center;
}

.analytics-cash-flow-payment-separator {
    width: 1px;
    height: 18px;
    background: #d5dfe2;
    flex: 0 0 1px;
}

.monthly_cash_flow_section {
    margin-top: 20px;
}

/* MANAGE PAYOFFS */

.payoff-category-grid {
    row-gap: 24px;
}

.payoff-category-item {
    display: flex;
}

.payoff-category-card {
    display: block;
    width: 100%;
    min-height: 170px;
    padding: 30px;
    border-radius: var(--border-r-20);
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.payoff-category-card {
    display: block;
    width: 100%;
    min-height: 170px;
    padding: 30px;
    border-radius: var(--border-r-20);
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.payoff-category-card:hover,
.payoff-category-card:focus {
    text-decoration: none;
    transform: translateY(-4px);
}

.payoff-category-content {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 110px;
}

.payoff-category-icon {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-color: rgba(255,255,255,0.22);
    color: #fff;
}

.payoff-category-card h3 {
    margin: 0 0 8px;
    font-size: var(--text-24);
    font-weight: 700;
    color: #fff;
}

.payoff-category-card p {
    margin: 0;
    font-size: var(--text-14);
    color: rgba(255,255,255,0.85);
}

/* Doctors */

.payoff-doctors {
    background-color: #216576;
}

.payoff-doctors:hover {
    background-color: #185461;
}

/* GENERAL DOCTOR PAYOFF MODAL */

#editGeneralDoctorPayoffModal .common-white-box .form-label {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 600;
    color: #102735;
}

.doctor-general-payoff-box {
    background: var(--white);
    border-radius: var(--border-r-20);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
    padding: 30px;
    margin-bottom: 25px;
}

.doctor-general-payoff-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.doctor-general-payoff-header h2 {
    margin: 0;
    font-size: var(--text-20);
    font-weight: 700;
    color: var(--primary);
}

.doctor-general-payoff-edit-btn {
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: var(--border-r-10);
    padding: 7px 14px;
    font-size: var(--text-14);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doctor-general-payoff-edit-btn i {
    margin-right: 5px;
}

.doctor-general-payoff-edit-btn:hover,
.doctor-general-payoff-edit-btn:focus {
    background-color: var(--primary);
    color: var(--white);
    outline: none;
}

.doctor-general-payoff-rates {
    border: 1px solid var(--close-gray);
    border-radius: var(--border-r-12);
    overflow: hidden;
}

.doctor-general-payoff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--close-gray);
}

.doctor-general-payoff-row:last-child {
    border-bottom: none;
}

.doctor-general-payoff-label {
    font-size: var(--text-14);
    color: var(--slogan-gray);
    font-weight: 600;
}

.doctor-general-payoff-value {
    font-size: var(--text-14);
    color: var(--primary);
    font-weight: 700;
    text-align: right;
}

.payoff-mode-option {
    margin-bottom: 15px;
}

.payoff-mode-option label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.payoff-mode-option input[type="radio"] {
    margin-right: 6px;
}

.payoff-mode-option .form-control {
    max-width: 100%;
}

.doctor-payoff-step-2 {
    padding: 28px 30px 32px;
}

.doctor-payoff-effective-date-step {
    padding: 28px 30px 32px;
}

.doctor-payoff-effective-date-step .common-white-box {
    border: 1px solid #e4eaec;
    border-radius: 12px;
    background: #ffffff;
}

.doctor-payoff-effective-date-step .form-label {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-effective-date-step .form-control {
    height: 44px;
    border: 1px solid #dfe5e7;
    border-radius: 10px;
    font-size: 14px;
    color: #102735;
    background: #ffffff;
}

.doctor-payoff-effective-date-step .form-control:focus {
    border-color: #216567;
    box-shadow: 0 0 0 3px rgba(33, 101, 103, 0.08);
}

.doctor-payoff-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.doctor-payoff-step-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #216567;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.doctor-payoff-step-header h5 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-step-header p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.doctor-payoff-apply-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.doctor-payoff-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #dfe5e7;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.doctor-payoff-radio-card input[type="radio"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #216567;
}

.doctor-payoff-radio-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.doctor-payoff-radio-title {
    font-size: 15px;
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-radio-description {
    font-size: 13px;
    line-height: 1.5;
    color: #6c757d;
}

.doctor-payoff-radio-card:has(input[type="radio"]:checked) {
    border-color: #216567;
    background: #f3f9f8;
    box-shadow: 0 2px 8px rgba(33, 101, 103, 0.08);
}

.doctor-payoff-radio-card:hover {
    border-color: #216567;
}

/* DOCTOR PAYOFF EXCEPTION LIST */

.doctor-payoff-except-doctors {
    margin-top: 22px;
}

.doctor-payoff-except-header {
    margin-bottom: 12px;
}

.doctor-payoff-except-header h6 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-except-header p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}

.doctor-payoff-except-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
    margin-top: 12px;
    border: 1px solid #e2e8ea;
    border-radius: 12px;
    background: #f8fafb;
}

.doctor-payoff-except-doctor {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doctor-payoff-except-doctor:hover {
    border-color: #216567;
    background: #f3f9f8;
}

.doctor-payoff-except-doctor-info {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.doctor-payoff-except-doctor-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #102735;
}

.doctor-payoff-except-doctor input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.doctor-payoff-checkmark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-left: 15px;
    border: 2px solid #b8c5c8;
    border-radius: 5px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.doctor-payoff-except-doctor input[type="checkbox"]:checked + .doctor-payoff-checkmark {
    border-color: #216567;
    background: #216567;
}

.doctor-payoff-except-doctor input[type="checkbox"]:checked + .doctor-payoff-checkmark::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.doctor-payoff-except-doctor:has(input[type="checkbox"]:checked) {
    border-color: #216567;
    background: #f3f9f8;
}

.doctor-payoff-except-doctor:has(input[type="checkbox"]:checked) .doctor-payoff-except-doctor-name {
    font-weight: 600;
    color: #216567;
}

.doctor-payoff-except-list::-webkit-scrollbar {
    width: 6px;
}

.doctor-payoff-except-list::-webkit-scrollbar-track {
    background: transparent;
}

.doctor-payoff-except-list::-webkit-scrollbar-thumb {
    background: #c7d3d5;
    border-radius: 10px;
}

.doctor-payoff-except-list::-webkit-scrollbar-thumb:hover {
    background: #9fb1b4;
}

@media (max-width: 575px) {

    .doctor-payoff-except-list {
        max-height: 250px;
    }

    .doctor-payoff-except-doctor {
        min-height: 48px;
        padding: 10px 12px;
    }

    .doctor-payoff-except-doctor-name {
        font-size: 13px;
    }

}

/* DOCTOR PAYOFF VIEW MODAL */

#view_doctor_payoff_modal .modal-dialog {
    max-width: 1100px;
}

#view_doctor_payoff_modal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.16);
}

#view_doctor_payoff_modal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e7ecee;
    background: #ffffff;
}

#view_doctor_payoff_modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #102735;
}

#view_doctor_payoff_modal .modal-body {
    padding: 0;
    background: #f7f9fa;
}

#view_doctor_payoff_modal .modal-footer {
    padding: 14px 24px;
    border-top: 1px solid #e7ecee;
    background: #ffffff;
}


/* STATEMENT HEADER */

.doctor-payoff-view-header {
    padding: 24px 28px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e7ecee;
}

.doctor-payoff-view-header h4 {
    margin: 0 0 5px;
    font-size: 21px;
    font-weight: 700;
    color: #102735;
}

.doctor-payoff-view-header p {
    margin: 0;
    font-size: 13px;
    color: #718087;
}

/* DOCTOR PAYOFF VIEW MODAL - DATE FILTER */

.doctor-payoff-view-date-filter {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 22px 28px;
    border-top: 1px solid #edf0f1;
    border-bottom: 1px solid #edf0f1;
}

.doctor-payoff-date-field {
    width: 220px;
}

.doctor-payoff-date-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-date-field .form-control {
    height: 44px;
    border: 1px solid #dfe5e7;
    border-radius: 10px;
    font-size: 14px;
    color: #102735;
    background: #fff;
}

.doctor-payoff-date-field .form-control:focus {
    border-color: #216567;
    box-shadow: 0 0 0 3px rgba(33, 101, 103, 0.08);
}

.doctor-payoff-date-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-payoff-date-actions .btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.doctor-payoff-date-actions .btn i {
    margin-right: 6px;
}

.btn-outline-ehw-green {
    border: 1px solid #216567;
    background: #fff;
    color: #216567;
}

.btn-outline-ehw-green:hover,
.btn-outline-ehw-green:focus {
    background: #216567;
    color: #fff;
}

@media (max-width: 767px) {

    #view_doctor_payoff_modal .modal-dialog {
        margin: 10px;
    }

    .doctor-payoff-view-date-filter {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .doctor-payoff-date-field {
        width: calc(50% - 8px);
    }

    .doctor-payoff-date-action {
        width: 100%;
        margin-left: 0;
    }

    .doctor-payoff-date-action .btn {
        width: 100%;
    }

}

@media (max-width: 480px) {

    .doctor-payoff-date-field {
        width: 100%;
    }

}

/* DOCTOR PAYOFF VIEW - INCENTIVE SUMMARY */

.doctor-payoff-summary {
    padding: 24px 28px;
    background: #f8fafb;
    border-bottom: 1px solid #edf0f1;
}

.doctor-payoff-summary-header {
    margin-bottom: 18px;
}

.doctor-payoff-summary-header h5 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #102735;
}

.doctor-payoff-summary-header p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}

.doctor-payoff-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-left: 28px;
    padding-right: 28px;
}

.doctor-payoff-summary-card {
    min-height: 82px;
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid #e4eaec;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-payoff-summary-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
}

.doctor-payoff-summary-card strong {
    font-size: 18px;
    font-weight: 700;
    color: #216567;
}

.doctor-payoff-summary-total {
    background: #216567;
    border-color: #216567;
}

.doctor-payoff-summary-total .doctor-payoff-summary-label,
.doctor-payoff-summary-total strong {
    color: #ffffff;
}

.doctor-payoff-summary-fixed {
    margin-top: 18px;
    padding: 18px 28px 0;
    border-top: 1px solid #e1e7e9;
}

.doctor-payoff-summary-fixed-card {
    max-width: 280px;
}

.doctor-payoff-summary-payment {
    margin: 18px 28px 0;
    padding: 18px 0 0;
    border-top: 1px solid #e1e7e9;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.doctor-payoff-summary-payment .doctor-payoff-summary-card {
    width: auto;
    min-width: 0;
    min-height: 78px;

    margin: 0;
    padding: 14px 16px;

    background: #fff;
    border: 1px solid #e4eaec;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-payoff-summary-payment .doctor-payoff-summary-label {
    display: block;
    margin: 0 0 6px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    color: #6c757d;
}

.doctor-payoff-summary-payment .doctor-payoff-summary-card strong {
    display: block;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #216567;
}

.doctor-payoff-summary-payment .doctor-payoff-summary-due {
    background: #f3f9f8;
    border-color: #216567;
}

.doctor-payoff-payment-action {
    padding: 14px 28px 0;
    display: flex;
    justify-content: flex-end;
}

.doctor-payoff-summary-due {
    position: relative;
}

.doctor-payoff-summary-due-action {
    position: absolute;
    right: 14px;
    bottom: 12px;
}

.doctor-payoff-summary-due-action .btn {
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.3;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .doctor-payoff-summary-payment {
        margin-left: 20px;
        margin-right: 20px;
        grid-template-columns: 1fr;
    }
}

.doctor-payoff-payment-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.doctor-payoff-payment-info-item {
    padding: 13px 15px;
    background: #f7f9fa;
    border: 1px solid #e4eaec;
    border-radius: 8px;
}

.doctor-payoff-payment-info-item span {
    display: block;
    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
}

.doctor-payoff-payment-info-item strong {
    display: block;

    font-size: 15px;
    font-weight: 700;
    color: #216567;
}

.doctor-payoff-payment-field label {
    display: block;
    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 600;
    color: #263f4a;
}

.doctor-payoff-payment-field .form-control {
    height: 44px;
}

.doctor-payoff-payment-history-btn {
    margin-left: 10px;
}

@media (max-width: 575px) {
    .doctor-payoff-payment-info {
        grid-template-columns: 1fr;
    }
}

/* DOCTOR PAYOFF DETAILS TABLE */

.doctor-payoff-details-section {
    margin: 20px 24px 0;
    border-top: 1px solid #e7ecee;
    padding-top: 18px;
}

.doctor-payoff-details-header {
    margin-bottom: 12px;
}

.doctor-payoff-details-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #102735;
}

.doctor-payoff-details-section .table-responsive {
    width: 100%;
    border: 1px solid #dfe7e9;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #ffffff;
}

.doctor-payoff-details-table {
    width: 100%;
    min-width: 950px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.doctor-payoff-details-table thead th {
    padding: 13px 14px;
    background: #216567;
    color: #ffffff;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: middle;
}

.doctor-payoff-details-table thead th:first-child {
    border-top-left-radius: 11px;
}

.doctor-payoff-details-table thead th:last-child {
    border-top-right-radius: 11px;
}

.doctor-payoff-details-table tbody td {
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #e7ecee;
    color: #34454d;
    background: #ffffff;
    vertical-align: middle;
    white-space: nowrap;
}

.doctor-payoff-details-table tbody tr:last-child td {
    border-bottom: 0;
}

.doctor-payoff-details-table tbody tr:hover td {
    background: #f6faf9;
}

.doctor-payoff-details-table th:first-child,
.doctor-payoff-details-table td:first-child {
    width: 65px;
    text-align: center;
}

.doctor-payoff-details-table th:nth-child(3),
.doctor-payoff-details-table td:nth-child(3) {
    min-width: 180px;
    text-align: left;
}

.doctor-payoff-details-table td:nth-child(3) {
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-details-table th:nth-child(2),
.doctor-payoff-details-table td:nth-child(2) {
    min-width: 110px;
}

.doctor-payoff-details-table th:nth-child(n+4),
.doctor-payoff-details-table td:nth-child(n+4) {
    min-width: 105px;
    text-align: right;
}

.doctor-payoff-details-table th:last-child {
    min-width: 120px;
}

.doctor-payoff-details-table td:last-child {
    min-width: 120px;
    font-weight: 700;
    color: #216567;
}

.doctor-payoff-details-table tbody td[colspan] {
    padding: 30px 20px;
    text-align: center !important;
    color: #7b898e;
    font-weight: 500;
}

.doctor-payoff-details-section .table-responsive::-webkit-scrollbar {
    height: 7px;
}

.doctor-payoff-details-section .table-responsive::-webkit-scrollbar-track {
    background: #f1f5f5;
    border-radius: 10px;
}

.doctor-payoff-details-section .table-responsive::-webkit-scrollbar-thumb {
    background: #b7c8ca;
    border-radius: 10px;
}

.doctor-payoff-details-section .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #8fa9ac;
}

@media (max-width: 767px) {

    .doctor-payoff-details-section {
        margin-top: 16px;
        padding-top: 15px;
    }

    .doctor-payoff-details-header h5 {
        font-size: 16px;
    }

    .doctor-payoff-details-table {
        min-width: 900px;
        font-size: 12px;
    }

    .doctor-payoff-details-table thead th,
    .doctor-payoff-details-table tbody td {
        padding: 11px 12px;
    }

}

/* BILL DOCTOR PAYOFF EDIT MODAL */

.doctor-bill-payoff-edit-modal .modal-dialog {
    max-width: 720px;
}

.doctor-bill-payoff-edit-modal .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(16, 39, 53, 0.18);
}

.doctor-bill-payoff-edit-modal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8edef;
    background: #ffffff;
}

.doctor-bill-payoff-edit-modal .modal-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #102735;
}

.doctor-bill-payoff-modal-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #718087;
}

.doctor-bill-payoff-modal-subtitle strong {
    color: #216567;
}

.doctor-bill-payoff-edit-modal .modal-body {
    padding: 24px;
    background: #f8fafb;
}

.doctor-bill-payoff-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.doctor-bill-payoff-info-item {
    padding: 14px 16px;
    border: 1px solid #e1e8ea;
    border-radius: 10px;
    background: #ffffff;
}

.doctor-bill-payoff-info-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #7a878d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.doctor-bill-payoff-info-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #102735;
}

.doctor-bill-payoff-form {
    border: 1px solid #e1e8ea;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.doctor-bill-payoff-form-header {
    display: grid;
    grid-template-columns: 1fr 230px;
    align-items: center;
    padding: 13px 18px;
    background: #f3f7f7;
    border-bottom: 1px solid #e1e8ea;
    font-size: 12px;
    font-weight: 700;
    color: #65747b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.doctor-bill-payoff-form-header div:last-child {
    text-align: right;
}

.doctor-bill-payoff-row {
    display: grid;
    grid-template-columns: 1fr 230px;
    align-items: center;
    gap: 20px;
    padding: 15px 18px;
    border-bottom: 1px solid #edf1f2;
}

.doctor-bill-payoff-row:last-child {
    border-bottom: 0;
}

.doctor-bill-payoff-row strong {
    font-size: 14px;
    font-weight: 600;
    color: #102735;
}

.doctor-bill-payoff-amount-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-bill-payoff-amount-field > span {
    font-size: 14px;
    font-weight: 600;
    color: #216567;
}

.doctor-bill-payoff-amount-field .form-control {
    height: 40px;
    padding: 7px 11px;
    border: 1px solid #dce4e6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #102735;
    text-align: right;
    background: #ffffff;
}

.doctor-bill-payoff-amount-field .form-control:focus {
    border-color: #216567;
    box-shadow: 0 0 0 3px rgba(33, 101, 103, 0.08);
}

.doctor-bill-payoff-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-top: 1px solid #dce5e7;
    background: #f3f8f8;
}

.doctor-bill-payoff-total span {
    font-size: 14px;
    font-weight: 700;
    color: #102735;
}

.doctor-bill-payoff-total strong {
    font-size: 17px;
    font-weight: 700;
    color: #216567;
}

.doctor-bill-payoff-edit-modal .modal-footer {
    padding: 15px 24px;
    border-top: 1px solid #e8edef;
    background: #ffffff;
}

.doctor-bill-payoff-edit-modal .modal-footer .btn {
    min-width: 110px;
}

/* DOCTOR PAYOFF PAYMENT TABS */

.doctor-payoff-payment-tabs {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0 0 1px;
    border-bottom: 1px solid #e1e7e9;
}

.doctor-payoff-payment-tabs .nav-item {
    margin: 0;
}

.doctor-payoff-payment-tabs .nav-link {
    margin: 0;
    padding: 11px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #718087;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.doctor-payoff-payment-tabs .nav-link:hover {
    color: #216567;
    background: #f3f8f8;
}

.doctor-payoff-payment-tabs .nav-link.active {
    color: #216567;
    background: #f3f8f8;
    border-bottom-color: #216567;
}

@media (max-width: 575px) {

    .doctor-payoff-payment-tabs .nav-link {
        padding: 10px 12px;
        font-size: 12px;
    }

}

/* DOCTOR PAYOFF PAYMENT - BILLS */

.doctor-payoff-payment-bills-card {
    margin-top: 20px !important;
    border: 1px solid #dfe7e9;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.doctor-payoff-payment-bills-card > .d-flex {
    padding: 13px 16px;
    margin-bottom: 0 !important;
    background: #f3f7f7;
    border-bottom: 1px solid #e1e8ea;
}

.doctor-payoff-payment-bills-card > .d-flex h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #102735;
}

.doctor-payoff-payment-bills-card .table-responsive {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.doctor-payoff-payment-bills-table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.doctor-payoff-payment-bills-table thead th {
    padding: 12px 14px;
    background: #f7f9fa;
    color: #65747b;
    border: 0;
    border-bottom: 1px solid #e1e8ea;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: middle;
}

.doctor-payoff-payment-bills-table tbody td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #edf1f2;
    color: #34454d;
    background: #ffffff;
    vertical-align: middle;
    white-space: nowrap;
}

.doctor-payoff-payment-bills-table tbody tr:last-child td {
    border-bottom: 0;
}

.doctor-payoff-payment-bills-table tbody tr:hover td {
    background: #f8fbfb;
}

.doctor-payoff-payment-bills-table th:first-child,
.doctor-payoff-payment-bills-table td:first-child {
    width: 48px;
    text-align: center;
}

.doctor-payoff-payment-bills-table th:nth-child(2),
.doctor-payoff-payment-bills-table td:nth-child(2) {
    min-width: 110px;
}

.doctor-payoff-payment-bills-table th:nth-child(3),
.doctor-payoff-payment-bills-table td:nth-child(3) {
    min-width: 130px;
}

.doctor-payoff-payment-bills-table th:nth-child(4),
.doctor-payoff-payment-bills-table td:nth-child(4) {
    min-width: 170px;
}

.doctor-payoff-payment-bills-table th:nth-child(5),
.doctor-payoff-payment-bills-table td:nth-child(5) {
    min-width: 125px;
    text-align: right;
}

.doctor-payoff-payment-bills-table th:nth-child(6),
.doctor-payoff-payment-bills-table td:nth-child(6) {
    min-width: 155px;
}

.doctor-payoff-payment-bills-table tbody td:nth-child(4) {
    font-weight: 600;
    color: #102735;
}

.doctor-payoff-payment-bills-table tbody td:nth-child(5) {
    font-weight: 600;
    color: #216567;
}

.doctor-payoff-payment-bills-table .doctor-payoff-payment-bill-amount {
    width: 100%;
    height: 38px;
    padding: 7px 10px;
    border: 1px solid #dce4e6;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #102735;
    text-align: right;
    background: #ffffff;
}

.doctor-payoff-payment-bills-table .doctor-payoff-payment-bill-amount:focus {
    border-color: #216567;
    box-shadow: 0 0 0 3px rgba(33, 101, 103, 0.08);
    outline: none;
}

.doctor-payoff-payment-bills-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
    accent-color: #216567;
    cursor: pointer;
}

.doctor-payoff-payment-bills-table thead input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

.doctor-payoff-payment-bills-card .table-responsive::-webkit-scrollbar {
    height: 7px;
}

.doctor-payoff-payment-bills-card .table-responsive::-webkit-scrollbar-track {
    background: #f1f5f5;
}

.doctor-payoff-payment-bills-card .table-responsive::-webkit-scrollbar-thumb {
    background: #b7c8ca;
    border-radius: 10px;
}

.doctor-payoff-payment-bills-card .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #8fa9ac;
}

@media (max-width: 767px) {

    .doctor-payoff-payment-bills-table {
        min-width: 700px;
        font-size: 12px;
    }

    .doctor-payoff-payment-bills-table thead th,
    .doctor-payoff-payment-bills-table tbody td {
        padding: 10px 11px;
    }

}

/* Staff */

.payoff-staff {
    background-color: #638f79;
}

.payoff-staff:hover {
    background-color: #527b68;
}

/* Radiologists */

.payoff-radiologists {
    background-color: #6f7fb5;
}

.payoff-radiologists:hover {
    background-color: #5e6da1;
}

/* Pathologists */

.payoff-pathologists {
    background-color: #a477a8;
}

.payoff-pathologists:hover {
    background-color: #906493;
}

.staff-main-row td{
    border-bottom: 0 !important;
}

.attendance-row td{
    border-top: 0 !important;
}

.attendance-buttons{
    margin-bottom: 14px;
}

.attendance-badge{
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

/* Present */
.attendance-present{
    background: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

/* Absent */
.attendance-absent{
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
}

/* Leave */
.attendance-leave{
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

/* Half Day */
.attendance-half_day{
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #17a2b8;
}

/* Holiday */
.attendance-holiday{
    background: #d6d8db;
    color: #383d41;
    border: 1px solid #343a40;
}

.attendance-summary-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
}

.attendance-summary-card{
    min-width:120px;
    padding:12px;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

.summary-title{
    font-size:13px;
    margin-bottom:4px;
}

.summary-count{
    font-size:16px;
    font-weight:700;
}

/* PRESENT */
.present-card{
    background:#d4edda;
    color:#155724;
    border:1px solid #28a745;
}

/* ABSENT */
.absent-card{
    background:#f8d7da;
    color:#721c24;
    border:1px solid #dc3545;
}

/* LEAVE */
.leave-card{
    background:#fff3cd;
    color:#856404;
    border:1px solid #ffc107;
}

/* HALF DAY */
.halfday-card{
    background:#d1ecf1;
    color:#0c5460;
    border:1px solid #17a2b8;
}

/* HOLIDAY */
.holiday-card{
    background:#d6d8db;
    color:#383d41;
    border:1px solid #343a40;
}

.attendance-percentage-box{
    margin-top:18px;
    padding:14px;
    border-radius:12px;
    background:#f8f9fa;
    border:1px solid #dee2e6;
    text-align:center;
    font-weight:600;
    font-size:15px;
}

.attendance-percentage-value{
    display:block;
    margin-top:6px;
    font-size:24px;
    font-weight:700;
    color:#0f766e;
}

.attendance-export-box{
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
}

.attendance-export-quick-options{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.attendance-export-quick-options .btn{
    border-radius: 10px;
    font-weight: 600;
}

.attendance-export-box label{
    font-weight: 600;
    margin-bottom: 6px;
}

.attendance-export-row .form-control{
    height: 42px;
    font-size: 14px;
    padding: 8px 12px;
}

.attendance-export-submit-btn{
    width: 100%;
    height: 42px;
    font-size: 14px;
    white-space: nowrap;
}

.attendance-calendar-wrapper{
    margin-bottom:25px;
    padding:20px;
    border:1px solid #e5e7eb;
    border-radius:14px;
}

.attendance-calendar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:20px;
}

.calendar-nav-btn{
    width:36px;
    height:36px;
    border-radius:50%;
    border:1px solid #d1d5db;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#111827;
    font-size:20px;
    font-weight:700;
}

.calendar-nav-btn.disabled{
    opacity:0.4;
    pointer-events:none;
}

.attendance-calendar-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:10px;
    text-align:center;
}

.calendar-day{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    font-weight:600;
}

/* OUTLINE COLORS */

.calendar-present{
    border:2px solid #28a745;
    color:#155724;
}

.calendar-absent{
    border:2px solid #dc3545;
    color:#721c24;
}

.calendar-leave{
    border:2px solid #ffc107;
    color:#856404;
}

.calendar-halfday{
    border:2px solid #17a2b8;
    color:#0c5460;
}

.calendar-holiday{
    border:2px solid #343a40;
    color:#383d41;
}

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.tags li{
    white-space:normal;
}

/* ===== Manage Staff Attendance Date Selector ===== */

.attendance-date-selector{
    display:inline-flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    font-weight:600;
    user-select:none;
}

.attendance-calendar-icon{
    font-size:14px;
    opacity:0.75;
}

.attendance-calendar-container{
    display:none;
    width:300px;
    margin-top:12px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#ffffff;
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.attendance-mini-calendar{
    width:100%;
}

.attendance-mini-calendar .attendance-calendar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
    font-size:15px;
    font-weight:700;
}

.attendance-mini-calendar .attendance-calendar-header button{
    width:30px;
    height:30px;
    padding:0;
    border:1px solid #d1d5db;
    border-radius:50%;
    background:#ffffff;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    line-height:1;
    cursor:pointer;
}

.attendance-mini-calendar .attendance-calendar-header button:hover{
    background:#f3f4f6;
}

.attendance-calendar-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:5px;
    text-align:center;
}

.attendance-calendar-weekday{
    font-size:11px;
    font-weight:700;
    color:#6b7280;
    padding-bottom:4px;
}

.attendance-calendar-empty{
    height:30px;
}

.attendance-calendar-day{
    width:30px;
    height:30px;
    margin:auto;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
    border:2px solid transparent;
}

.attendance-calendar-day:hover{
    background:#f3f4f6;
}

.attendance-calendar-day.calendar-future{
    color:#c7cbd1;
    cursor:not-allowed;
    opacity:0.55;
}

.attendance-calendar-day.calendar-future:hover{
    background:transparent;
}

/* Attendance status circles */

.attendance-calendar-day.calendar-present{
    border-color:#28a745;
    color:#155724;
}

.attendance-calendar-day.calendar-absent{
    border-color:#dc3545;
    color:#721c24;
}

.attendance-calendar-day.calendar-leave{
    border-color:#ffc107;
    color:#856404;
}

.attendance-calendar-day.calendar-halfday{
    border-color:#17a2b8;
    color:#0c5460;
}

.attendance-calendar-day.calendar-holiday{
    border-color:#343a40;
    color:#383d41;
}

/* ===== Sticky Footer Layout ===== */

html, body {
    height: 100%;
}

body {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
}

.page-wrap {
    flex: 1;
}

/* PATIENT DETAILS */
.patient-details-wrapper {
    padding: 30px 20px;
}

.patient-details-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.patient-details-dashboard {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.patient-details-left {
    flex: 1;
}

.patient-details-right {
    flex: 2;
}

.patient-details-card,
.patient-details-summary-card {
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.patient-details-info-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.patient-details-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.patient-details-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.patient-details-info p {
    margin: 2px 0;
    font-size: 14px;
}

.patient-details-summary-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

.patient-details-summary-content {
    text-align: justify;
    font-size: 14px;
    line-height: 1.6;
}

/* Tabs Wrapper */
.patient-details-tabs-wrapper {
    margin-top: 30px;
}

.patient-details-tabs-header {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.patient-details-tab {
    padding: 10px 0;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.patient-details-tab.active {
    color: #32704e;
}

.patient-details-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #32704e;
}

.patient-details-tab-content {
    display: none;
}

.patient-details-tab-content.active {
    display: block;
}

/* Prescription Not Found Toast Alert */
.ehw-prescription-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    background: #ff4d4f;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.ehw-prescription-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Billing patient search dropdown */

#patient_results{
    position:absolute;
    background:white;
    top:100%;
    left:0;
    width:100%;
    z-index:9999;
    border:1px solid #ddd;
    max-height:200px;
    overflow-y:auto;
}

/* Invoice Template */
.invoice-container{
    padding-top:0;
    padding-left:0;
    margin-top: 0;
    max-width:900px;
    margin:auto;
}

.invoice-header{
    text-align:left;
    margin-bottom:20px;
    margin:0;
    padding:0;
}

.cancelled-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);

    font-size: 70px;
    font-weight: bold;
    color: rgba(255, 0, 0, 0.15);

    border: 5px solid rgba(255, 0, 0, 0.2);
    padding: 20px 50px;
    border-radius: 12px;

    z-index: 1;
    pointer-events: none;
}

.clinic-banner{
    max-width:50%;
    height:auto;
    display:block;
    margin-bottom: 0;
    padding:0;
    margin-left: -50px;
    margin-top: -15px;
}

.clinic-info{
    max-width: 45%;
    text-align:left;
    font-size: 14px;
    word-wrap: break-word;
}

.invoice-title{
    text-align:center;
    margin:20px 0;
}

.invoice-table th,
.invoice-table td{
    text-align:center;
}

.invoice-total{
    text-align:right;
    margin-top:20px;
}

.invoice-footer{
	display:none;
}

.print-button{
	display:inline-block;
}

/* INVOICE PDF TABLE */

.invoice-table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}

.invoice-table th,
.invoice-table td{
    border:1px solid #000;
    padding:8px;
    text-align:center;
}

.invoice-table th{
    font-weight:bold;
}

/* BILLING TEMPLATE */
#billingTable td:nth-child(1),
#billingTable th:nth-child(1) {
    white-space: nowrap;
    min-width: 130px;
}

#billingTable td:nth-child(2),
#billingTable th:nth-child(2) {
    white-space: nowrap;
    min-width: 110px;
}

/* PRESCRIPTION TEMPLATE */
.prescription-container{
    padding-top:0;
    padding-left:0;
    margin-top:0;
    max-width:900px;
    margin:auto;
}

.prescription-page{
    position: relative;
}

.prescription-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align:left;
    margin-bottom:20px;
    margin:0;
    padding:0;
}

.doctor-header-block{
    display:flex;
    flex-direction:column;
    width: 40%;
}

.doctor-name{
    font-size: 26px;
    font-weight: 700;
    color: #2e7d6b;
    font-family: 'DM Serif Display', serif;
    line-height: 1.2;
}

.doctor-meta{
    font-size: 16px;
    font-weight: 600;
    color: #32745c;
    margin-top: 3px;
}

.doctor-desc{
    font-size: 13px;
    color: #2e7d6b;
    margin-top: 4px;
    line-height: 1.5;
    max-width: 80%;
}

.clinic-banner-right{
    top: -15px;
    right: 0;
    display: block;
    width: 60%;
    max-height: 120px;
    object-fit: contain;
    margin-left: auto
}

.clinic-info-right{
    right: 0;
    width: 60%;
    margin-left: auto;
    color: #2e7d6b;
    font-size: 14px;
    text-align: right;
}

.clinic-address{
    font-size: 14px;
    line-height: 1.4;
}

.clinic-phone{
    font-size: 14px;
    margin-top: 4px;
}

.patient-info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin: 15px 0;
    font-size: 15px;
}

.patient-left{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.patient-right{
    text-align:right;
}

.patient-info-row span{
    color:#333;
}

.vitals-section{
    margin-top: 10px;
    font-size: 15px;
    color:#333;
}

.vital-inline{
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 8px;
}

.section-title{
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 800;
    color:#2e7d6b;
}

.complaint-line{
    display:flex;
    font-size:15px;
    margin-bottom:2px;
}

.complaint-label{
    min-width:125px;
    font-weight:800;
}

.complaint-value{
    flex:1;
}

.indent{
    padding-left:125px;
}

.diagnosis-line{
    display:flex;
    font-size:15px;
    margin-top:8px;
}

.diagnosis-label{
    min-width:125px;
    font-weight:800;
    color:#000;
}

.diagnosis-value{
    flex:1;
    color:#000;
}

.medications-row{
    margin-top:8px;
    margin-bottom:5px;
}

.label{
    font-weight:800;
    color:#000;
}

.med-table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
    margin-top:5px;
    margin-bottom:10px;
}

.med-table th,
.med-table td{
    border:1px solid #000;
    padding:6px;
    text-align:center;
}

.med-table th{
    font-weight:800;
    background:#f8f8f8;
}

.med-table td:nth-child(2){
    text-align:left;
}

.investigation-line:first-child{
    margin-top:8px;
}

.investigation-line{
    display: flex;
    font-size: 15px;
    margin-bottom: 2px;
}

.investigation-label{
    min-width: 125px;
    font-weight: 800;
    color: #000;
}

.investigation-value{
    flex: 1;
    color: #000;
}

.investigation-line.indent{
    padding-left: 125px;
}

.followup-line{
    display:flex;
    font-size:15px;
    margin-top:8px;
}

.followup-label{
    min-width:125px;
    font-weight:800;
    color:#000;
}

.followup-value{
    flex:1;
    color:#000;
}

.followup-line.indent{
    padding-left:125px;
}

.general-advice-line{
    display:flex;
    font-size:15px;
    margin-top:8px;
}

.general-advice-label{
    min-width:125px;
    font-weight:800;
    color:#000;
}

.general-advice-value{
    flex:1;
    color:#000;
    white-space:pre-line;
}

.diet-line{
    display:flex;
    font-size:15px;
    margin-top:8px;
}

.diet-label{
    min-width:125px;
    font-weight:800;
    color:#000;
}

.diet-value{
    flex:1;
    color:#000;
}

.diet-line.indent{
    padding-left:125px;
}

.dosdonts-row{
margin-top:10px;
margin-bottom:5px;
}

.dosdonts-table{
width:100%;
border-collapse:collapse;
font-size:14px;
}

.dosdonts-table th,
.dosdonts-table td{
border:1px solid #000;
padding:6px;
text-align:left;
vertical-align:top;
}

.dosdonts-table th{
font-weight:800;
background:#f8f8f8;
text-align:center;
}

.dosdonts-table td{
width:50%;
}

.signature-wrapper{
margin-top:30px;
text-align:right;
}

.signature-image{
display:inline-block;
border-bottom:1px solid #000;
padding-bottom:4px;
}

.signature-image img{
max-height:60px;
}

.signature-name{
margin-top:6px;
font-weight:700;
font-size:14px;
}

.print-button-wrapper{
    margin-top:20px;
    margin-bottom:20px;
    text-align:center;
}

.print-btn{
    padding:10px 20px;
    font-size:15px;
}

/* PRINT CLEANUP */
@media print{

.print-button{
    display:none;
}

/* Hide dashboard UI */
header,
nav,
.sidebar,
.footer-main,
.btn,
button{
    display:none !important;
}

/* Make invoice full width */
.container{
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
}

/* Keep two columns during print */
.invoice-row{
    display:flex !important;
    justify-content:space-between;
}

.invoice-col{
    width:48% !important;
}

/* Clean background */
body{
    background:white;
    visibility:hidden;
}

/* Show only invoice */
#invoice-print-area,
#invoice-print-area *{
position: relative;
visibility:visible;
}

/* Move invoice to top-left of page */
#invoice-print-area{
position:absolute;
min-heigth:100vh;
padding-bottom:60px;
left:0;
top:0;
width:100%;
}

invoice-page{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.invoice-content{
    flex:1;
}

.invoice-footer{
    left:0;
    bottom:0;
    position:absolute;
    display:flex;
    justify-content:space-between;
    font-size:12px;
    width:100%
    padding: 10px 0;
}

.invoice-wrapper{
    padding-bottom:80px;
}

}
