:root {
        /* Primary Colors */
        --doctor-primary: #144C42;
        --doctor-primary-light: #1B6A52;
        --doctor-primary-dark: #047857;

        /* Secondary Colors */
        --doctor-secondary: #475569;        /* Slate 600 */
        --doctor-secondary-light: #94a3b8;  /* Slate 400 */
        --doctor-secondary-dark: #334155;   /* Slate 700 */

        /* Accent Colors */
        --doctor-accent: #059669;           /* Emerald 600 */
        --doctor-accent-light: #34d399;     /* Emerald 400 */
        --doctor-accent-dark: #047857;      /* Emerald 700 */

        /* Status Colors */
        --doctor-success: #16a34a;          /* Green 600 */
        --doctor-warning: #d97706;          /* Amber 600 */
        --doctor-error: #dc2626;            /* Red 600 */
        --doctor-info: #059669;              /* Light Blue 600 */

        /* Background Colors */
        --doctor-bg-primary: #ffffff;       /* White */
        --doctor-bg-secondary: #f8fafc;     /* Slate 50 */
        --doctor-bg-tertiary: #f1f5f9;      /* Slate 100 */

        /* Text Colors */
        --doctor-text-primary: #0f172a;     /* Slate 900 */
        --doctor-text-secondary: #475569;    /* Slate 600 */
        --doctor-text-tertiary: #94a3b8;    /* Slate 400 */
        --doctor-text-inverse: #ffffff;      /* White */

        /* Border Colors */
        --doctor-border: #e2e8f0;           /* Slate 200 */
        --doctor-border-focus:#34d399;
        --doctor-card-bg: #e8f5e9;     /* light green*/
    }




.ck-editor__editable,
textarea {
    min-height: 150px;
}

/*.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}
*/
.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

/********************LPCS Custom**********************/
.reqHelpBlock,.reqfield{
    color: red;
}
/********************Loader**********************/
#site_loader .lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: fixed;
    top: 45%;
    left: 45%;
}
#site_loader .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#site_loader{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: no-repeat #00000075;
}
/********************End Loader**********************/
.LpcsSteps {
    margin: 40px 0;
    overflow: hidden;
}
.LpcsSteps ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.LpcsSteps ul li.active {
    color: #fb8200;
}
.LpcsSteps ul li {
    float: left;
    color: #007bff;
    padding: 0 15px;
    position: relative;
    cursor: pointer;
    -webkit-transition: all 0.4s ease-in-out 0;
    -moz-transition: all 0.4s ease-in-out 0;
    -ms-transition: all 0.4s ease-in-out 0;
    -otransition: all 0.4s ease-in-out 0;
    transition: all 0.4s ease-in-out 0;
}
.LpcsSteps ul li.active span {
    background: #fb8200;
    color: #fff;
}
.LpcsSteps ul li span {
    display: block;
    margin: 0 auto 15px;
    width: 35px;
    height: 35px;
    text-align: center;
    background: #999;
    font-size: 18px;
    line-height: 35px;
    font-weight: 300;
    color: #fff;
    position: relative;
    z-index: 1;
    -webkit-transition: all 0.4s ease-in-out 0;
    -moz-transition: all 0.4s ease-in-out 0;
    -ms-transition: all 0.4s ease-in-out 0;
    -otransition: all 0.4s ease-in-out 0;
    transition: all 0.4s ease-in-out 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -oborder-radius: 2px;
    border-radius: 2px;
}

.LpcsSteps ul li::before, .LpcsSteps ul li::after {
    content: "";
    position: absolute;
    left: -50%;
    top: 22px;
    width: 100%;
    height: 3px;
    background: #ddd;
    -webkit-transition: all 0.4s ease-in-out 0;
    -moz-transition: all 0.4s ease-in-out 0;
    -ms-transition: all 0.4s ease-in-out 0;
    -otransition: all 0.4s ease-in-out 0;
    transition: all 0.4s ease-in-out 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -otransform: translateY(-50%);
    transform: translateY(-50%);
}
.LpcsSteps ul li:first-child:before , .LpcsSteps ul li:first-child::after{
    content: '';
    width: 0px;
}
.LpcsStepsOuter{
    margin: 0 auto;
    max-width:450px;
}
.toggle-button{
    padding-top: 8px;
}
input[type="file"] {
    padding:3px !important;
}

.error{
color: red;
}

.select2-container {
width: auto !important; 
min-width: 200px;
}
.select2{
    width: auto !important;   
}

.bootbox .btn.btn-primary{
    background-color: #0069d9;
}
.bootbox .bootbox-close-button{
        margin-left: 0px;
}
.bootbox h4{
    font-size: 15px;
}
.min-h-20 {
    min-height: 20px;
  }


    /* Common Components */
    .doctor-page {
        background: linear-gradient(105deg, var(--doctor-bg-secondary) 60%, var(--doctor-bg-tertiary) 100%);
    }

    .doctor-card {
        background: rgba(255,255,255,0.85)!important;
        backdrop-filter: blur(6px);
        border-radius: 1rem!important;
        border-color: var(--doctor-border)!important;
    }

    /* Text Styles */
    .doctor-text-primary { color: var(--doctor-primary)!important; }
    .doctor-text-secondary { color: var(--doctor-secondary)!important; }
    .doctor-text-accent { color: var(--doctor-accent)!important; }

    /* Button Styles */
    .doctor-btn-primary {
        background-color: var(--doctor-primary)!important;
        color: var(--doctor-text-inverse)!important;
        border-radius: 0.5rem;
    }
    .doctor-btn-success {
        background-color:  #1b6a52!important;
        color: var(--doctor-text-inverse)!important;
        border-radius: 0.5rem;
    }

    .doctor-btn-outline-secondary {
        border: 1px solid var(--doctor-secondary)!important;
        color: var(--doctor-secondary)!important;
        border-radius: 0.5rem;
    }

    .doctor-btn-outline-primary {
        border: 1px solid var(--doctor-primary)!important;
        color: var(--doctor-primary)!important;
        border-radius: 0.5rem;
    }

    /* Form Controls */
    .doctor-form-control {
        border-color: var(--doctor-border)!important;
        border-radius: 0.5rem!important;
    }

    .doctor-form-control:focus {
        border-color: var(--doctor-border-focus)!important;
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25)!important;
    }

    /* Status Badges */
    .doctor-badge-success { background-color: var(--doctor-success)!important; }
    .doctor-badge-warning { background-color: var(--doctor-warning)!important; }
    .doctor-badge-info { background-color: var(--doctor-info)!important; }

    /* Card Hover Effects */
    .doctor-hover-shadow:hover {
        box-shadow: 0 0.5rem 1.5rem rgba(60,60,100,0.18)!important;
        transform: translateY(-3px);
        transition: all 0.2s ease;
    }
     .select2-results__option {
            background-color: var(--doctor-primary) !important;
            color:var(--doctor-bg-primary)!important;
        }

        .select2-results__option--highlighted {
            background-color: var(--doctor-accent-dark) !important;
            color:var(--doctor-bg-primary)!important;
        }



       /* Sidebar and general layout styling */
.doctor-theme .doctorSidebar,
.doctor-theme .sidebar {
    background: #1b6a52 !important;
    color: #fff !important;
    padding: .1rem .55rem !important;
    box-shadow: none !important;
    border: none !important;
}

.doctor-theme .doctorSidebarMenu,
.doctor-theme .sidebar-nav,
.doctor-theme .user-account,
.doctor-theme .user-name,
.doctor-theme .nav-link,
.doctor-theme .sidebar a,
.doctor-theme .sidebar .user-photo {
    color: #fff !important;
    background: #1b6a52 !important;
}

.doctor-theme .doctorSidebar .user-account .user-name strong {
    color: #fff !important;
}

.doctor-theme .sidebar .dropdown .dropdown-menu.dropdown-menu-right.account a {
    color: #fff !important;
    background: #323A45 !important;
}

/* Sidebar icon color */
.doctor-theme .sidebar .fa,
.doctor-theme .icon-menu {
    color: #fff !important;
}

/* Sidebar hover effects */
.doctor-theme .sidebar-nav li a,
.doctor-theme .nav-link {
    transition: background 0.2s, color 0.2s;
}

.doctor-theme .sidebar-nav li a:hover,
.doctor-theme .nav-link:hover {
    background: var(--doctor-primary) !important;
    color: #fff !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    text-decoration: none;
}

/* Sidebar active states */
.doctor-theme #main-menu li[class*="active"] > a.has-arrow:after {
    border-color: white transparent transparent !important;
}

.doctor-theme #main-menu .active > a {
    background: linear-gradient(45deg, #1a6951, #2c9c7d) !important;
    color: white !important;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(123, 26, 26, 0.1);
}

.doctor-theme #main-menu .active > a i {
    color: white !important;
}

.doctor-theme #main-menu li a i.fa-2x {
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: 8px;
    color: #1a6951;
}

.doctor-theme #main-menu li a:hover {
    background-color: rgba(26, 105, 81, 0.1);
    border-radius: 4px;
}

.doctor-theme #main-menu .metismenu .active > ul {
    border-left: 3px solid #1a6951;
    padding-left: 5px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .doctor-theme #main-menu .fa-2x {
        font-size: 1.3em;
    }

    .doctor-theme #main-menu span {
        font-size: 0.9em;
    }
}

/*  Bell and Home icon behavior cleanup */

/* Prevent unwanted hover background */
.doctor-theme .navbar-right li > a.icon-menu:hover,
.doctor-theme .navbar-right li > a.icon-menu:focus,
.doctor-theme .navbar-right li > a.icon-menu:active {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #198754 !important;
}

/* Static color for bell and home icons */
.doctor-theme .navbar-right li > a.icon-menu > i.fa-bell,
.doctor-theme .navbar-right li > a.icon-menu > i.fa-home {
    color: #198754 !important;
}

/* Prevent general hover from overriding icon hover */
.doctor-theme .navbar .nav > li > a.icon-menu:hover {
    background: transparent !important;
    color: #198754 !important;
}

/* Optional: remove old white hover rules on <i> directly */
.doctor-theme .navbar-right .fa-bell:hover,
.doctor-theme .navbar-right .fa-home:hover {
    background: transparent !important;
}


    /* Card Styles */
    .card-hover {
    background-color: var(--doctor-card-bg)!important; 
    transition: all 0.3s ease;
    border: 1px solid #c8e6c9;
    }

    .card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .card-hover .fa {
    color: var(--doctor-primary)!important; 
    }

    .visits-btn-width{
        width:100px;
    }
    .doctor-btn-dark-primary {
        background:linear-gradient(45deg, #1a6951, #2c9c7d)!important;
        color: var(--doctor-text-inverse)!important;
       
    }
    .fa-size-m{
        font-size:20px !important;
    }

    .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #1a6951 !important;
    border-color:var(--doctor-primary)!important;
}

/* Main group container */
.btn-group-shadow {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
}

/* Base button */
.btn-ehr-notes {
    height: 36px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-radius: 10;
    background-color: #1a6951 !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* No hover effect */
.btn-ehr-notes:hover {
    background-color: #1a6951 !important;
    color: #fff !important;
}

/* Remove focus/active highlights */
.btn-ehr-notes:focus,
.btn-ehr-notes:active,
.btn-ehr-notes:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Left side: EHR / Notes */
.btn-ehr-notes.action-main {
    width: 50px; /* You can reduce this to 70 or 65 if needed */
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    padding: 0 12px;
}

/* Right side: Dropdown */
.btn-ehr-notes.dropdown-toggle {
    width: 36px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 0 8px;
}

.btn-group .btn:hover,
.btn-group .btn:focus {
    background-color: #1a6951 !important;
    color: #fff !important;
}

/* Dropdown menu spacing and elevation */
.btn-group-shadow .dropdown-menu {
    margin-top: 2px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    border-radius: 10px;
    min-width: 90px; 
    padding: 6px 0; 
}

.dropdown-menu .dropdown-item {
    padding: 6px 16px;
    font-size: 14px;
    color: black;
}

  


/* Filter Icon Button */
.btn-filter-icon {
    background-color: #1a6951 !important;
    color: white !important;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none !important;
}

.btn-filter-icon:hover,
.btn-filter-icon:focus,
.btn-filter-icon:active {
    background-color: #1a6951 !important;
    color: white !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Dropdown Box */
.filter-dropdown-box {
    position: absolute;
    top: 42px;
    right: 0;
    min-width: 140px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    z-index: 1050;
    display: none;
    padding: 0.25rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Compact filter buttons like dropdown items */
.filter-chip {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 13px;
    color: #333;
    padding: 6px 12px;
    transition: background 0.2s;
}

.filter-chip:hover {
    background-color: #f1f1f1;
    color: #1a6951;
    cursor: pointer;
}


 