@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

:root {
    /** Main Colors */
    --font: "Rubik", sans-serif;
    --white-color: #fff;
    --black-color: #000;
    --black-50: rgba(0, 0, 0, 0.5);

    --primary-color: #FF6D00;
    --body-bg-color: #f5f3f2;
    --primary-light: #FF6D0033;
    --primary-bg: #FF6D000D;
    --assest-color: #fff;

    /** Design System — Text & Border */
    --text-heading: #0F172A;
    --text-secondary: #64748B;
    --border-color: #E2E8F0;
    --radius-md: 10px;
    --transition: all 0.22s ease;

    /* --partition-color: */
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --blue: #0d6efd;
    --green: #058f00;
    --red: #e3000b;
    --gray: #666;
    --cyan: #0dcaf0;
    --orange: #fd7e14;


}

[data-theme="dark"] {
    /** Main Colors */
    --font: "Rubik", sans-serif;
    --white-color: #0B0F19;
    --black-color: #FFFFFF;
    --black-50: rgba(255, 255, 255, 0.5);

    --primary-color: #FF8A3D;
    --body-bg-color: #0F172A;
    --primary-light: #FF6D0033;
    --primary-bg: #FF6D000D;
    --assest-color: #1E293B;

    /** Design System — Text & Border */
    --text-heading: #F1F5F9;
    --text-secondary: #94A3B8;
    --border-color: #334155;

    /* --partition-color: */
    --success: #22C55E;
    --danger: #EF4444;
    --warning: #FACC15;
    --blue: #3B82F6;
    --green: #22C55E;
    --red: #EF4444;
    --gray: #9CA3AF;
    --cyan: #22D3EE;
    --orange: #FB923C;
}


html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    background-color: var(--body-bg-color);
    font-size: 14px;
    overflow-x: hidden;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
}

.defaultfont {
    font-family: var(--font);
}

a {
    text-decoration: none !important;
}

.primary-color {
    color: var(--primary-color) !important;
}

.primary-bg {
    background: var(--primary-color) !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
}

.listitemClass {
    background-color: var(--body-bg-color);
    border: 1px solid var(--black-color);
    cursor: s-resize;
}

.text-gray {
    color: var(--black-color);
    opacity: 0.6;
}

.text-black {
    color: var(--black-color);
}

.btn:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

.btn-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
    padding: 0 0 0px;
    border-radius: 0;
    font-size: 14px;
}

.btn-default {
    background: var(--primary-bg);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    border: 1px solid var(--primary-color);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-default:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: 0 2px 8px var(--primary-light);
}


.mw-100 {
    min-width: 100px;
}

.mw-120 {
    min-width: 120px;
}

.mw-150 {
    min-width: 150px;
}

.btn-icon {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--primary-color);
}

.btn-icon {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--primary-color);
}

.dropright .dot-icon {
    height: 18px;
}

.dropright .dropdown-menu {
    top: 100% !important;
    right: 0;
    -webkit-transform: none !important;
    transform: none !important;
    left: auto !important;
}

.dropdown-menu {
    -webkit-box-shadow: 0 15px 35px var(--assest-color);
    box-shadow: 0 15px 35px var(--assest-color);
    padding: 4px;
    border: 0;
    border-radius: 12px;
}

.dropdown-menu .dropdown-item {
    font-weight: 500;
    border-bottom: 2px dashed var(--assest-color);
    padding: 7px 11px;
    font-size: 14px;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
}

.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: var(--assest-color);
    border-radius: .25rem
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: bold;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    content: "/"
}

.breadcrumb-item.active {
    color: var(--black-color)
}

.side-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: transparent;
    padding: 0;
}

.side-toggle span {
    background: var(--primary-color);
    width: 22px;
    height: 3px;
    margin: 2px;
    border-radius: 50px;
}

.side-toggle span:nth-child(2) {
    width: 26px;
}

.custom-control .custom-control-label::before {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
}

.custom-control .custom-control-input:checked~.custom-control-label::after {
    border-radius: 3px;
    background-color: var(--primary-color);
}

.custom-control.custom-radio .custom-control-label::before,
.custom-control.custom-radio .custom-control-label:after {
    border-radius: 50% !important;
}

.sidebar {
    background: var(--assest-color);
    padding: 30px 15px 30px 15px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 280px;
    max-width: 100%;
    overflow: auto;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

@media (min-width: 1680px) {
    .sidebar {
        width: 300px;
    }
}

.sidebar.hide-sidebar {
    width: 80px;
    padding: 30px 10px;
}

@media (min-width: 1024px) {
    .sidebar.hide-sidebar .side-menu .partition {
        display: none;
    }

    .sidebar.hide-sidebar .side-head {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        /* margin: 6px 0 5px 2px; */
        width: 50px;
    }

    .sidebar.hide-sidebar .side-logo,
    .sidebar.hide-sidebar .partition,
    .sidebar.hide-sidebar .side-menu a>span {
        display: none;
    }

    .sidebar.hide-sidebar .side-menu .active a:after {
        content: none;
    }

    .sidebar.hide-sidebar .side-menu a {
        margin: 6px auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 13px 9px;
        height: 50px;
        width: 50px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .sidebar.hide-sidebar .side-menu a .menu-icon {
        margin-right: 0;
    }

    .sidebar.hide-sidebar .side-menu a.dropdown-toggle:after {
        content: none;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu {
        margin-left: 0;
        min-width: unset;
        padding: 0;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu a {
        padding: 0;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu .active {
        padding: 0;
        margin: 0px;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu a svg {
        margin-right: 0;
    }
}

.sidebar .side-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.sidebar .side-logo {
    width: 150px;
}

.sidebar .side-menu {
    padding: 0;
    list-style: none;
    margin: 40px 0 0;
    overflow-y: auto;
}

.sidebar .side-menu a {
    color: var(--black-color);
    display: block;
    padding: 10px 12px;
    position: relative;
    margin: 6px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    /* font-size: 16px; */
    font-weight: 500;
}

.sidebar.hide-sidebar .side-menu .side_line.active a:after {
    display: none;
}

.sidebar .side-menu .side_line.active a:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 2px;
    height: 30px;
    background: var(--white-color);
}

.sidebar .side-menu a .menu-icon {
    margin-right: 12px;
}

.sidebar .side-menu .dropdown-menu a .submenu-icon {
    margin-right: 12px;
}

.sidebar .side-menu a:hover {
    color: var(--primary-color);
    font-weight: 600;

}

.sidebar .side-menu .active a {
    background: var(--primary-light);
    border-radius: 15px;
    color: var(--primary-color);
}

.sidebar .side-menu .active a .menu-icon {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.sidebar .side-menu .active .dropdown-menu .active .submenu-icon {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.sidebar .side-menu .dropdown-toggle::after {
    position: absolute;
    right: 10px;
    top: 22px;
}

.sidebar .side-menu .dropdown-menu {
    position: relative !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    float: none;
    background: transparent;
    margin-left: 15px;
}

.sidebar .side-menu .dropdown-menu .dropdown-item {
    padding: 4px 12px;
    background: transparent !important;
}

.right-content {
    margin-left: 280px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.sidebar .side-menu .side-submenu a {
    color: var(--black-color);
    display: block;
    padding: 10px 12px;
    position: relative;
    margin: 6px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    /* font-size: 16px; */
    font-weight: 500;
}

.sidebar .side-menu .side-submenu .active {
    background: var(--primary-color);
    border-radius: 15px;
    color: var(--white-color);
    padding: 1px 0px;
}

.sidebar .side-menu .side-submenu a:hover {
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar .side-menu .side-submenu .active a:hover {
    color: var(--white-color);
    font-weight: 600;
}

.sidebar .side-menu .side-submenu .active a {
    color: var(--white-color);
}

@media (min-width: 1680px) {
    .right-content {
        margin-left: 300px;
    }
}

.right-content.right-content-0 {
    margin-left: 80px;
}

.right-content.right-content-0 .header .title-control .side-toggle {
    display: none;
}

.avatar-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.body-content {
    padding: 25px;
}

.box-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--primary-light);
    padding-bottom: 10px;
    margin-top: 20px;
}

.box-title .title {
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0;
    color: var(--black-color);
}

.box-title .header-text {
    color: var(--black-color);
}

.avatar-control {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.avatar-control .avatar-img {
    height: 50px;
    width: 50px;
    border-radius: 20%;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: var(--primary-bg);
}


.table {
    border-color: var(--primary-bg);
    min-width: 650px;
}

.table thead th {
    font-size: 14px;
    font-weight: 600;
    border-top: 0;
    border-bottom: 1px solid var(--primary-bg);
    background-color: var(--primary-bg);
    color: var(--black-color);
}

.table td {
    font-size: 14px;
    border-bottom: 1px solid var(--primary-bg);
    color: var(--black-color);
    border-top: 0;
    vertical-align: middle;
}

.table .avatar-img {
    margin-right: 10px;
}

.table .clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.table .btn {
    padding: 2px;
    background: transparent;
    margin: 0 3px;
}

.table .btn img {
    width: 16px;
}

.table tfoot {
    background-color: var(--primary-bg);
}

.dot {
    height: 8px;
    width: 8px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.custom-tabs {
    margin: 20px 0;
    background: var(--assest-color);
    border-radius: 100px;
}

.custom-tabs li.nav-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}

.custom-tabs .nav-link {
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black-color);
    padding: 10px;
}

.custom-tabs .nav-link.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.custom-tabs .nav-link:hover {
    background-color: var(--primary-bg);
    color: var(--primary-color);
}

.summary-table-card .border-card {
    padding: 10px;
    border: 2px solid var(--assest-color);
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-table-card .border-card:hover {
    border: 2px solid var(--primary-color);
}

.summary-table-card .border-card>.row {
    margin: 0;
}

.summary-table-card .border-card>.row .col,
.summary-table-card .border-card>.row .col-1,
.summary-table-card .border-card>.row .col-2,
.summary-table-card .border-card>.row .col-12 {
    padding: 0;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.summary-table-card .avatar-control {
    min-width: 120px;
    font-weight: 600;
}

.summary-table-card .avatar-control img {
    margin-right: 8px;
}

.summary-table-card .price {
    color: var(--red-color);
    font-weight: 600;
}

.video-box {
    padding: 25px;
    background: var(--assest-color);
}

.video-box .f600 {
    font-weight: 600;
}

.video-box .box-border-0 {
    border: 0;
    padding-bottom: 0;
}

.page-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--primary-bg);
    border-radius: 8px;
    padding: 7px;
}

.page-search .input-group-text,
.page-search .form-control {
    border: 0;
    background: transparent;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    font-size: 14px;
}

.page-search .input-group-text img,
.page-search .form-control img {
    width: 20px;
}

.page-search .sorting {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 290px;
    background-color: var(--white-color);
    padding: 2px 12px;
    border-radius: 8px;
}

.page-search .sorting label {
    min-width: 60px;
    margin: 0;
    font-weight: 600;
}

.pagination {
    padding: 5px;
    border: 1px solid var(--primary-light);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 10px;
    margin: 35px auto 0;
}

.pagination .page-link {
    border: 0;
    height: 30px;
    width: 30px;
    background: var(--primary-light) !important;
    margin: 0 5px;
    border-radius: 50px !important;
    color: var(--black-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.pagination .page-link .right-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.pagination .page-link .dots {
    font-weight: 600;
    margin-top: -4px;
}

.pagination .arrow-icon {
    height: 20px;
    width: 20px;
    background-image: url("../../assets/imgs/left-arrow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px;
}

.pagination .arrow-icon .next-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.pagination .active .page-link {
    background: var(--primary-color) !important;
}


.modal .close {
    font-size: 34px;
    color: var(--white-color);
    opacity: 1;
    position: absolute;
    right: 5px;
    top: 0px;
    font-weight: 200;
    z-index: 22;
    outline: none;
}

.inline-tabs {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    z-index: 2;
}

.inline-tabs li.nav-item {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.inline-tabs .nav-link {
    padding: 10px 35px;
}

.app-right-btn {
    text-align: right;
    margin-top: -60px;
    margin-bottom: 30px;
}

.custom-border-card {
    background: var(--assest-color);
    /* -webkit-box-shadow: 0 15px 35px var(--assest-color); */
    /* box-shadow: 0 15px 35px var(--assest-color); */
    border: 1px solid var(--assest-color);
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.custom-border-card .card-header {
    font-size: 18px;
    background: transparent;
    padding: 0;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 15px;
    color: var(--black-color);
}

.custom-border-card .card-body {
    padding: 18px 0 10px;
}


.border-top {
    border-top: 1px solid var(--primary-light) !important;
}

.form-group label {
    font-weight: 500;
    color: var(--black-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.form-control,
.custom-select {
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    height: auto !important;
}

.form-control:focus,
.custom-select:focus {
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    border-color: var(--primary-color);
}

.file-control {
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 15px;
    cursor: pointer;
}

.file-control span {
    opacity: 0.6;
    display: inline-block;
    margin-top: 10px;
}

.thumbnail-img {
    position: relative;
    border: 1px solid var(--assest-color);
    display: inline-block;
    height: 100px;
    width: 130px;
    border-radius: 10px;
    padding: 4px;
}

.thumbnail-img img {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.thumbnail-img .close {
    position: absolute;
    top: 5px;
    right: 8px;
    color: var(--white-color);
    opacity: 1;
    font-weight: 300;
}

.radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}

.radio-group .custom-control {
    padding-left: 0;
    margin-right: 15px;
}

.radio-group .custom-control-label {
    margin-bottom: 0;
    background: var(--body-bg-color);
    color: var(--black-color);
    padding: 6px 23px 6px 33px;
    border-radius: 100px;
    font-size: 16px;
}

.radio-group .custom-control-label::before,
.radio-group .custom-control-label:after {
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.radio-group .custom-control-label:after {
    display: none;
}

.radio-group .custom-control-label::before {
    background: transparent;
    border: 3px solid var(--primary-light);
}

.radio-group .custom-control-input:checked~.custom-control-label {
    background: var(--primary-color);
    color: var(--white-color);
}

.radio-group .custom-control-input:checked~.custom-control-label::before {
    background: var(--primary-color);
    border-color: var(--white-color);
}

.page-title-sm {
    display: none;
}

.border-bottom {
    border-color: var(--assest-color) !important;
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
    content: "↑";
}

table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
    content: "↓";
}

div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--primary-bg);
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: 600;
}

div.dataTables_wrapper div.dataTables_length label .form-control,
div.dataTables_wrapper div.dataTables_filter label .form-control {
    padding: 6px 18px;
    text-align: center;
    margin: 0 13px;
}

div.dataTables_wrapper div.dataTables_length label input.form-control,
div.dataTables_wrapper div.dataTables_filter label input.form-control {
    margin-right: 0;
    text-align: left;
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child,
div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
    overflow: auto;
}

div.dataTables_wrapper div.dataTables_info {
    color: var(--black-color);
}

@media (min-width: 1600px) {
    .counter-row {
        margin-bottom: 20px;
    }

    .table thead th,
    .table td {
        font-size: 16px;
    }

    .custom-tabs .nav-link,
    .summary-table-card .border-card {
        font-size: 16px;
    }

    .form-group label {
        font-size: 16px;
    }

    .custom-border-card .card-header {
        font-size: 20px;
    }
}

@media (max-width: 1280px) {
    .header .input-group {
        width: 280px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        left: -280px;
    }

    .sidebar.hide-sidebar {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        left: 0;
        z-index: 99;
        width: 280px;
    }

    .sidebar.hide-sidebar .side-toggle span:first-child {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .sidebar.hide-sidebar .side-toggle span:nth-child(2) {
        display: none;
    }

    .sidebar.hide-sidebar .side-toggle span:last-child {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        margin-top: -5px;
    }

    .right-content {
        margin-left: 0 !important;
    }

    .right-content .page-title {
        display: none;
    }

    .header {
        padding: 15px;
    }

    .header .title-control .side-toggle {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .header .side-logo {
        display: block;
        width: 160px;
    }

    .header .mobile-close-search {
        display: none;
    }

    .counter-row .col-md {
        padding-right: 5px;
        padding-left: 5px;
    }

    .page-title-sm {
        font-size: 26px;
        font-weight: 600;
        margin: -10px 0 20px;
        display: block;
        border-bottom: 1px solid var(--assest-color);
        color: var(--black-color);
        padding-bottom: 5px;
    }

    .app-logo img {
        margin: 20px 0 10px;
    }
}

@media (max-width: 767px) {
    .btn-default {
        font-size: 14px;
    }

    .header .input-group {
        height: 45px;
        width: 45px;
        border-radius: 5px;
    }

    .header .input-group .input-group-text {
        padding: 7px;
    }

    .header .input-group .form-control {
        display: none;
    }

    .box-title {
        padding-bottom: 8px;
    }

    .box-title .title {
        font-size: 18px;
    }

    .avatar-control .avatar-img {
        height: 30px;
        width: 30px;
    }

    .table th,
    .table td {
        padding: 8px 5px;
    }

    .summary-table-card .border-card {
        padding: 10px 2px;
    }

    .summary-table-card .border-card .row .col {
        text-align: left;
    }

    .summary-table-card .border-card .row .col-12 {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .summary-table-card .avatar-control {
        margin: 0 14px 10px;
    }

    .pagination {
        margin-top: 20px;
    }

    .inline-tabs {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow: auto;
        margin-top: 0;
    }

    .inline-tabs::-webkit-scrollbar {
        display: none;
    }

    .inline-tabs .nav-link {
        padding: 8px 14px;
    }

    .app-right-btn {
        margin: 0 0 15px;
    }

    .form-group label {
        font-size: 14px;
    }

    .custom-border-card {
        padding: 16px 20px;
    }

    .custom-border-card .card-header {
        font-size: 18px;
        padding-bottom: 12px;
    }

    .file-control {
        padding: 16px;
    }

    .uf-form-actions {
        flex-direction: column;
        justify-content: stretch;
    }

    .uf-form-actions .btn {
        width: 100%;
        text-align: center;
    }

}

@media (max-width: 567px) {
    .page-search {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .page-search .sorting {
        margin-top: 8px;
    }

    div.dataTables_wrapper div.dataTables_length label,
    div.dataTables_wrapper div.dataTables_filter label {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child,
    div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
        padding: 0;
        overflow: auto;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin-top: 15px;
    }
}

@media (max-width: 340px) {
    .header .side-logo {
        width: 120px;
    }
}

/* Image Upload Preview */
.avatar-upload {
    position: relative;
    max-width: 205px;
}

.avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
}

.avatar-edit input {
    display: none;
}

.avatar-edit input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 30px;
    margin-top: 125px;
    border-radius: 100%;
    background: var(--white-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px var(--assest-color);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}

.avatar-edit input+label:hover {
    background: var(--assest-color);
    border-color: var(--primary-light);
}

.avatar-edit input+label:after {
    content: "\f0ee";
    font-family: 'FontAwesome';
    color: var(--primary-light);
    position: absolute;
    top: 130px;
    left: 0;
    right: 30px;
    text-align: center;
    margin: auto;
}

.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 10%;
}

.avatar-upload .avatar-preview>img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 10px;
}

.avatar-upload .avatar-preview>img:hover {
    transform: scale(1.05);
}

/* Image Upload Preview (Landscape) */
.landscape-preview {
    width: 220px !important;
    height: 120px !important;
}

/* Image Upload Preview (Landscape) */
.avatar-upload-landscape {
    position: relative;
    max-width: 265px;
}

.avatar-edit-landscape {
    position: absolute;
    right: 0;
    bottom: -20px;
    z-index: 1;
}

.avatar-edit-landscape input {
    display: none;
}

.avatar-edit-landscape input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 30px;
    margin-top: 125px;
    border-radius: 100%;
    background: var(--white-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px var(--assest-color);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}

.avatar-edit-landscape input+label:hover {
    background: var(--assest-color);
    border-color: var(--primary-light);
}

.avatar-edit-landscape input+label:after {
    content: "\f0ee";
    font-family: 'FontAwesome';
    color: var(--primary-light);
    position: absolute;
    top: 130px;
    left: 0;
    right: 30px;
    text-align: center;
    margin: auto;
}

.avatar-upload-landscape .avatar-preview-landscape {
    width: 220px;
    height: 120px;
    position: relative;
    border-radius: 10%;
}

.avatar-upload-landscape .avatar-preview-landscape>img {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Loader */
#dvloader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    background-color: var(--body-bg-color);
    z-index: 9999;
}

#dvloader img {
    max-width: 300px;
    max-height: 300px;
    z-index: 100;
}

/* btn Cancel */
.btn-cancel {
    background: var(--black-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 8px 20px;
}

.btn-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}

/* Edit-Delete btn */
.edit-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: 2px dashed transparent;
    /* color: var(--text-secondary); */
    background: var(--primary-light);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    box-shadow: none;
}

.edit-delete-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
}

.edit-delete-btn i {
    /* font-size: 13px; */
    color: var(--primary-color);
}

.edit-delete-btn:focus {
    outline: none;
    box-shadow: none;
}

.cart-bg {
    background-color: var(--assest-color);
}

/* Import File */
/* .import-file {
    color: var(--black-color);
} */

.import-file::file-selector-button {
    border-radius: 4px;
    color: var(--partition-color);
    background-color: var(--primary-light);
    border: 1px solid var(--primary-light);
    height: 30px;
    cursor: pointer;
}

/* Dashboard Category */
.category-box {
    padding: 25px;
    background: var(--assest-color);
}

.category-box .f600 {
    font-weight: 600;
}

.category-box .box-border-0 {
    border: 0;
    padding-bottom: 0;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
    /* color: var(--partition-color); */
    padding-left: 25px;
}

.category-image {
    max-height: 105px;
    height: 105px;
    width: 100%;
    border-radius: 8px;
    filter: blur(1.2px);
    -webkit-filter: blur(1.2px);
}

/* Side Menu Partition */
.partition {
    width: 100%;
    border-bottom: 3px dashed var(--partition-color);
    line-height: 0.1em;
    margin: 20px 0px;
}

.partition span {
    background: var(--assest-color);
    margin: 10px 0;
    padding: 0px 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black-50);
}

/* Demo Mode Box */
.demo-mode-box {
    background: var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 6px 18px;

}

.demo-mode-box:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

/* Color Picker */
.colorpicker-component {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
}

.colorpicker {
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.hexcolor {
    border: none;
    padding: 10px;
    width: 100px;
    outline: none;
}

/* Hide-Show Btn */
.show-btn,
.hide-btn,
.info-btn,
.pending-btn,
.approved-btn {
    font-weight: bold;
    font-size: 14px !important;
    padding: 6px 18px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px dashed transparent;
    outline: none;
    color: var(--white-color);
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border 0.3s ease,
        box-shadow 0.3s ease;
}

.show-btn {
    background: var(--green);
}

.show-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--green);
    color: var(--green);
}

.hide-btn {
    background: var(--red);
}

.hide-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--red);
    color: var(--red);
}

.pending-btn {
    background: var(--warning);
}

.pending-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--warning);
    color: var(--warning);
}

.approved-btn {
    background: var(--blue);
}

.approved-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--blue);
    color: var(--blue);
}

.info-btn {
    background: var(--primary-color) !important;
}

.info-btn:hover {
    background: var(--white-color) !important;
    border: 2px dashed var(--primary-color) !important;
    color: var(--primary-color) !important;
}


.show-btn:focus,
.hide-btn:focus,
.info-btn:focus,
.pending-btn:focus,
.approved-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Custom-Card */
.custom-card {
    background-color: var(--assest-color);
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.custom-card .card-body h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.custom-card .card-body span {
    font-size: 1.2rem;
    color: var(--black-color);
    font-weight: bold;
}

.custom-card .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.card-icon-primary {
    padding: 15px;
    border-radius: 50%;
    color: var(--assest-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color) !important;
}

.card-color-primary:hover {
    border-color: var(--primary-color);
}

.card-color-primary .card-body {
    color: var(--primary-color);
}

/* Earning-Card */
.card-earning {
    background-color: var(--assest-color);
    border-radius: 10px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    width: 100%;
}

.card-align {
    display: flex;
    justify-content: space-between;
}

.earning-title {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    color: var(--black-color);
}

.earning-amount {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    color: var(--primary-color);
}

.earning-divider {
    width: 2px;
    height: 60px;
    background-color: var(--primary-light);
    margin: 0 15px;
}


/* Landscape Card */
.landscape-card {
    background-color: var(--assest-color) !important;
    padding: 8px;
    margin: 10px 0;
    border: 3px solid transparent;
}

.landscape-card:hover {
    border: 3px solid var(--primary-color);
}

.modal-content {
    background-color: var(--assest-color);
}

.modal-header {
    border-bottom: 2px solid var(--primary-light);
}

.modal-title {
    color: var(--black-color);
}

.modal-footer {
    border-top: 2px solid var(--primary-light);

}

.wallet-image {
    height: 180px;
    width: 180px;
    border-radius: 10px;
}

.landscape-card-title {
    font-size: 16px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landscape-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landscape-card-border {
    border-top: 2px dashed var(--primary-color) !important;
    margin: 10px 0px;
}

.landscape-card .ribbon-top-left {
    top: -3px;
    left: -3px;
}

.system-note {
    font-weight: 600;
    font-size: 16px;
    color: var(--partition-color);
}

#map {
    height: 355px;
    width: 700px;
    position: relative;
    overflow: hidden;
}

.year-block {
    margin-bottom: 15px;
}

.year-title {
    font-size: 25px;
    color: var(--partition-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.month-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;

}

.month-card {
    background-color: var(--body-bg-color);
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);

}

.month-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    color: var(--black-color);
}

.vacation-entry {
    border-left: 5px solid var(--primary-color);
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    color: var(--black-color);
}

.vacation-entry:last-child {
    margin-bottom: 0;
}


/* Responsive */
@media (max-width: 992px) {
    .month-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .month-card {
        width: 100%;
    }
}

.badge {
    display: inline-block;
    padding: 10px 10px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.badge-success,
.bg-success {
    color: var(--white-color);
    background: var(--success) !important;
}

.badge-danger,
.bg-danger {
    color: var(--white-color);
    background: var(--danger) !important;
}

.badge-warning,
.bg-warning {
    color: var(--white-color);
    background: var(--warning) !important;
}

/* Modal container */
.decision-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Modal content */
.decision-modal-content {
    background-color: var(--white-color);
    border-radius: 10px;
    width: 450px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close button */
.decision-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Modal Body */
.decision-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icon Styling */
.decision-icon-img {
    width: 60px;
    height: 60px;
}

.decision-modal-body .modal-style {
    font: bold;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Error Text */
.decision-error-text {
    color: var(--red);
    font-size: 20px;
    font-weight: bold;
    margin: 20px 10px;
}

/* Success Text */
.decision-success-text {
    color: var(--green);
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

.schedule-group {
    border-radius: 10px;
    margin-bottom: 20px;
    background: var(--white-color);
    overflow: hidden;
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--assest-color);
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.schedule-header input[type="date"] {
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

/* .schedule-header label {
    color: var(--partition-color);
} */

.remove-date-btn {
    background-color: var(--red);
    color: var(--white-color);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.schedule-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 20px;
}

.schedule-body.open {
    padding-top: 20px;
    padding-bottom: 20px;
    max-height: 1000px;
}

.slots-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slot-card {
    padding: 12px;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
}

.slot-card label {
    color: var(--black-color);
}

.remove-slot-btn {
    background-color: var(--red);
    color: var(--white-color);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.add-slot-btn,
.add-date-btn {
    background-color: var(--green);
    color: var(--white-color);
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;

}

.slot-times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.slot-times .badge {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 7px 11px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .slot-card {
        flex-direction: column;
    }
}

/*** Appointmet Details ***/
.profile-details-card {
    background: var(--assest-color);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
    padding: 15px;
    margin-bottom: 20px;

}

.profile-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.profile-section {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--body-bg-color);
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.profile-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-img--round {
    border-radius: 50%;
    border: 3px solid var(--assest-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-heading);
    margin: 0;
}

.profile-username {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.profile-type-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-bg);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 4px;
    width: fit-content;
}

.profile-location {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.profile-contact {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}


.appointment-card {
    background: var(--assest-color);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 30px;
}

.main-prescription-card {
    background: var(--assest-color);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
    padding: 16px;
    margin-bottom: 20px;

}

.appointment-left {
    flex: 2;
}

.appointment-left h5 {
    color: var(--black-color);
}

.section-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--black-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-grid--2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.info-card {
    background-color: var(--white-color);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-top: 4px;
}

.notes {
    background: var(--assest-color);
    padding: 8px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    color: var(--black-color);
}

.appointment-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.appointment-label {
    width: 200px;
    font-weight: 600;
    color: var(--black-color);
}

.appointment-value {
    flex: 1;
    color: var(--black-color);
}

.note-box {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-top: 8px;
    color: var(--text-heading);
    font-size: 14px;
    line-height: 1.7;
}

.attachments .file {
    display: inline-block;
    background: var(--body-bg-color);
    padding: 6px 12px;
    border-radius: 6px;
    margin: 5px 8px 5px 0;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.attachments a {
    color: var(--primary-color);
    font-weight: 500;
}

.prescription-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

}

.prescription-card {
    flex: 0 0 calc(50% - 10px);
    /* Two in a row */
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    background-color: var(--body-bg-color);
}

.prescription-section {
    margin-bottom: 15px;
}

.prescription-section h5 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 4px;
    color: var(--black-color);
}

.prescription-section p {
    margin: 0;
    color: var(--black-color);
}

.medicine-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.medicine-table th,
.medicine-table td {
    border: 1px solid var(--border-light);
    padding: 8px;
    text-align: left;
    color: var(--black-color);
}


@media screen and (max-width: 768px) {
    .prescription-card {
        flex: 0 0 100%;
    }

    .info-grid--2col {
        grid-template-columns: 1fr;
    }

    .appointment-right {
        flex: 0 0 100%;
        min-width: unset;
    }

    .appointment-card {
        flex-direction: column;
    }
}

/* ---- Profile Section Additions ---- */
.profile-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
}

.profile-section__badge--doctor {
    background: rgba(13, 110, 253, 0.1);
    color: var(--blue);
}

.profile-section__badge--patient {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

/* ---- Appointment Info Groups ---- */
.appt-group {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4px;
}

.appt-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.appt-group__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

/* ---- File Chips ---- */
.appt-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.file-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: var(--body-bg-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.file-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.file-chip i {
    font-size: 12px;
}

/* ---- Right Payment Panel ---- */
.appointment-right {
    flex: 0 0 260px;
    min-width: 200px;
}

/* ---- Legacy (keep for backward compat) ---- */
.details-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background-color: var(--green);
    color: var(--white-color);
}

.price-box {
    background: var(--body-bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    min-width: 220px;
}

.price-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-heading);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row--total {
    margin-top: 4px;
    padding-top: 12px;
}

.price-label {
    color: var(--text-secondary);
}

.price-label.payable {
    font-weight: 600;
    color: var(--text-heading);
}

.price-value {
    font-weight: 600;
    color: var(--text-heading);
}

.price-value--discount {
    color: var(--success);
}

.price-value.payable {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.status-badge {
    margin: 6px;
    display: inline-block;
    padding: 0.35em 0.75em;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    text-transform: uppercase;
    border-radius: 0.375rem;
    transition:
        background-color 0.2s ease-in-out,
        color 0.2s ease-in-out,
        border-color 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}

.status-badge.draft {
    background-color: color-mix(in srgb, var(--gray) 20%, white);
    color: color-mix(in srgb, var(--gray) 80%, black);

}

.status-badge.cancel {
    background-color: color-mix(in srgb, var(--danger) 20%, white);
    color: color-mix(in srgb, var(--danger) 80%, black);

}

.status-badge.approved {
    background-color: color-mix(in srgb, var(--green) 20%, white);
    color: color-mix(in srgb, var(--green) 80%, black);
}

.status-badge.completed {
    background-color: color-mix(in srgb, var(--blue) 20%, white);
    color: color-mix(in srgb, var(--blue) 80%, black);
}

.status-badge.absent {
    background-color: color-mix(in srgb, var(--red) 35%, white);
    color: color-mix(in srgb, var(--red) 65%, black);
}

.status-badge.pending {
    background-color: color-mix(in srgb, var(--warning) 20%, white);
    color: color-mix(in srgb, var(--warning) 80%, black);
}

.chart-btn-group {
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.chart-btn-group button {
    padding: 10px 20px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-btn-group button:hover {
    /* background-color: var(--bg-light-color); */
    /* color: var(--text-dark); */
}

.chart-btn-group button.active {
    background: var(--primary-color);
    color: var(--partition-color);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(78, 121, 167, 0.3);
}

.chart-btn-group button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(78, 121, 167, 0.5);
}

.package-info-title h6 {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
}

.count-badge {
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: bold;
    padding: 7px 20px;
    border-radius: 20px;
    line-height: 1;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
}

.doctor-card {
    background-color: var(--assest-color);
    border-radius: 16px;
    transition: 0.3s ease;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 16px;
    /* gap: 16px; */
    width: 100%;
}

.doctor-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.avatar-wrapper {
    flex-shrink: 0;
}

.avatar-wrapper img {
    width: 70px;
    height: 75px;
    object-fit: cover;
    border-radius: 50%;
    /* border: 3px solid var(--border-default); */
}

.doctor-details {
    flex: 1;
    min-width: 0;
}

.doctor-name {
    font-size: 16px;
    font-weight: bold;
    word-break: break-word;
    color: var(--partition-color);
}

.doctor-fullname {
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
    color: var(--partition-color);
}

.rating-fees {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-weight: bold;
}

.rating-fees .badge {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
}

/* ✅ Mobile (up to 767px) */
@media (max-width: 767.98px) {
    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .avatar-wrapper {
        margin-bottom: 12px;
    }

    .rating-fees {
        justify-content: center;
    }
}

/* ✅ Tablet Portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rating-fees {
        justify-content: center;
    }
}

/* ✅ Tablet Landscape and small desktops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .doctor-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .rating-fees {
        justify-content: flex-start;
    }
}

/* ✅ Large desktop (1200px and up) */
@media (min-width: 1200px) {
    .doctor-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .rating-fees {
        justify-content: flex-start;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

/* Hide the default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-light);
    transition: .4s;
    border-radius: 34px;
}

/* Slider before checked (inactive state) */
.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 4px;
    bottom: 3px;
    background-color: var(--white-color);
    transition: .4s;
    border-radius: 50%;
}

/* When checked */
input:checked+.slider {
    background: var(--primary-color);

}

/* Move the slider when checked */
input:checked+.slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.add-more-pading {
    padding-top: 35px;
}

.medicine-card {
    /* border: 1px solid var(--border-default); */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: var(--assest-color);
}

.medicine-info-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 10px;
    background: var(--body-bg-color);
    /* border: 1px solid var(--border-light); */
    padding: 15px;
    border-radius: 10px;
}

.medicine-image-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    /* border: 1px solid var(--border-default); */
    background-color: var(--assest-color);
}

.medicine-meta {
    flex-grow: 1;
}

.medicine-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    /* color: var(--text-dark); */
}

.meta-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.meta-details-row .left {
    font-size: 14px;
    color: var(--text-dark);
}

.meta-details-row .right {
    display: flex;
    align-items: center;
    gap: 10px;
}


/** Medicine Grid Layout css **/
.profile-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.profile-product-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    position: relative;
}

.profile-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.profile-product-card:hover {
    transform: scale(1.05);
}

.profile-product-name {
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
    color: var(--black-color);
}

.profile-product-price {
    color: var(--primary-color);
    font-weight: bold;
}

.action-buttons {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
    gap: 10px;

}

.profile-product-card:hover .action-buttons {
    display: flex;

}

.action-buttons .action-btn {
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed transparent;
    /* ✅ prevents jump */
    transition: none;
    /* ✅ optional — removes animation */
}

.action-buttons .action-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
}

.order-details {
    border-radius: 8px;
    max-width: 100%;
}

.order-details .order-badge {
    color: var(--white-color);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.order-number strong {
    color: var(--partition-color);
}

.order-number p {
    color: var(--partition-color);
    font-size: 24px;
    margin: 0;
}

.order-date-invoice {
    display: flex;
    gap: 15px;
    align-items: center;
}


.order-invoice-btn {
    background-color: var(--red);
    color: var(--white-color);
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    outline: none;
}

.order-invoice-btn:hover {
    background-color: color-mix(in srgb, var(--red) 80%, black);
    transform: translateY(-1px);
}

.order-invoice-btn:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 2px;
}

.order-invoice-btn:focus:not(:focus-visible) {
    outline: none;
}

.order-info-section {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.order-info-cards {
    background-color: var(--body-bg-color);
    /* border: 1px solid var(--border-light); */
    border-radius: 8px;
    padding: 15px;
    width: 50%;
}

.order-info-cards h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--black-color);
}

.order-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-info-text {
    flex: 1;
    padding-right: 10px;
    color: var(--partition-color);
}

.order-info-text p {
    margin: 5px 0;
    color: var(--black-color);
}

.order-info-cards img {
    border-radius: 4px;
    width: 65px;
    height: 65px;
}

.order-summary {
    background-color: var(--body-bg-color);
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    font-family: Arial, sans-serif;

}

.order-summary h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--black-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--black-color);
}

.summary-item.total {
    font-weight: bold;
    font-size: 16px;
}


/* Container holding the tracking steps */
.order-tracking {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 20px;
    padding: 0 10px;
}

.step {
    display: flex;
    flex-direction: column;
    position: relative;
}

.step .icon {
    background-color: var(--primary-light);
    color: var(--text-secondary);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.step .icon i {
    font-size: 35px;
}

.step.active .icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.step .label {
    text-align: center;
    margin-top: 10px;
    color: var(--text-secondary);
}

.step .label p {
    font-weight: bold;
    margin: 0;
    color: var(--partition-color);
}

.step .label span {
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color);
}

.step .icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 400%;
    height: 3px;
    background-color: inherit;
    z-index: 0;
}

.step:last-child .icon::before {
    display: none;
}

.delivery-status p {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    color: var(--partition-color);
}

.delivery-status strong {
    color: var(--partition-color);
}

hr {
    border-top: 1px solid var(--primary-color);
    margin: 10px 0;
}

.general-badge {
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.general-pending {
    background-color: var(--warning);
    color: var(--white-color);
}

.general-placed {
    background-color: var(--cyan);
    color: var(--white-color);
}

.general-preparing {
    background-color: var(--orange);
    color: var(--white-color);
}

.general-ontheway {
    background-color: var(--blue);
    color: var(--white-color);
}

.general-delivered {
    background-color: var(--green);
    color: var(--white-color);
}

.general-rejected {
    background-color: var(--red);
    color: var(--white-color);
}

.header-profile {
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--black-color);
}

.header-profile:hover .header-profile-name {
    color: var(--primary-color);
}

.header-profile-image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.header-profile-image:hover {
    transform: scale(1.05);
}

.header-profile-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--black-color);
    white-space: nowrap;
    transition: color 0.3s ease;
}

@media (max-width: 480px) {
    .header-profile-name {
        display: none;
    }
}

/** Bed Allocation css **/
.appointment-box {
    background-color: var(--primary-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 24px 32px;
    transition: box-shadow 0.3s ease;
}

.appointment-box:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.appointment-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    /* border-bottom: 1px solid var(--border-light); */
    padding-bottom: 14px;
}

.appointment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    /* border-bottom: 1px dashed var(--border-light); */
}

.appointment-item:last-child {
    border-bottom: none;
}

.appointment-box-label {
    font-weight: 500;
    color: var(--black-color);
    font-size: 16px;
}

.appointment-box-value {
    font-weight: 600;
    color: var(--black-color);
    font-size: 16px;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

.truncate-text {
    display: inline-block;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* Container */
/* .notif-wrapper {
    position: relative;
    display: inline-block;
    font-family: var(--font);
    font-size: 14px;
    user-select: none;
}

.notif-bell {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.notif-bell:hover,
.notif-bell:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;

}

.bell-icon {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    transition: stroke 0.3s ease;
    color: var(--partition-color);
}

.notif-count {
    position: absolute;
    top: 3px;
    right: 3px;
    background: color-mix(in srgb, var(--red) 80%, white);
    color: var(--white-color);
    font-weight: 700;
    font-size: 11px;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    user-select: none;
    pointer-events: none;
    transform-origin: center;
    transition: transform 0.3s ease;
    will-change: transform;
    min-width: 20px;
    text-align: center;
}

.notif-dropdown {
    position: absolute;
    right: 0;
    margin-top: 12px;
    width: 360px;
    max-height: 460px;
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-default);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    font-size: 14px;
    color: var(--text-dark);
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.notif-dropdown[hidden] {
    display: none;
    opacity: 0;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-default);
    font-weight: 600;
    font-size: 16px;
}


.mark-all-read-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 6px 10px;
    border-radius: 6px;
}
.mark-all-read-btn:hover,
.mark-all-read-btn:focus {
    background-color: var(--bg-hover-color);
    color: var(--black-50);
    outline: none !important;


}

.notif-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    flex-grow: 1;
    max-height: 380px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}

.notif-list::-webkit-scrollbar {
    width: 8px;
}

.notif-list::-webkit-scrollbar-track {
    background: transparent;
}

.notif-list::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
    border-radius: 20px;
    border: 2px solid transparent;
}

.notif-item {
    display: flex;
    gap: 12px;
    margin-top: 7px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-default);
    cursor: pointer;
    transition: background-color 0.25s ease;
    white-space: normal;
    align-items: center;
    position: relative;
    background-color: var(--white-color);
    border-left: 4px solid transparent;
}

.notif-item:hover,
.notif-item:focus {
    background-color: color-mix(in srgb, var(--blue) 10%, white);
    outline: none;
}

.notif-item.unread {
    background-color: var(--bg-highlight);
    border-left-color: var(--primary-color);
}

.notif-item.unread .notif-title-time strong {
    font-weight: 700;
    color: var(--black-color);
}

.notif-item.unread::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.notif-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--gray);
}

.notif-title-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    gap: 12px;
}

.notif-time {
    font-size: 12px;
    color: color-mix(in srgb, var(--text-muted) 70%, white);
    white-space: nowrap;
    flex-shrink: 0;
}

.notif-desc {
    font-size: 13px;
    line-height: 1.3;
    color: var(--text-muted);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 2);
}

.notif-read-mark {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--green-color);
    margin-left: 10px;
    align-self: center;
}

.notif-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    background-color: var(--bg-light-color);
}

.view-all-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

@media (max-width: 400px) {
    .notif-dropdown {
        width: 90vw;
        max-height: 60vh;
        right: 5vw;
    }
}

.toast-popup {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 280px;
    font-family: var(--font);
    font-size: 14px;
    word-wrap: break-word;
}

.toast-popup.visible {
    opacity: 1;
    transform: translateY(0);
} */

/* ============================================================
   APP HEADER — SaaS redesign
   ============================================================ */

.app-header {
    position: sticky;
    top: 0;
    z-index: 22;
    height: 64px;
    background: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 16px;
}

/* ---- Left side ---- */

.app-header__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.app-header__toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background 200ms ease;
}

.app-header__toggle:hover {
    background: var(--primary-bg);
}

.app-header__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: background 200ms ease;
}

.app-header__toggle:hover span {
    background: var(--primary-color);
}

.app-header__logo {
    display: none;
    flex-shrink: 0;
    text-decoration: none !important;
}

.app-header__logo h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.app-header__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Right side ---- */

.app-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Demo Badge */
.app-header__demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--primary-bg);
    color: var(--primary-color);
    /* font-size: 12px; */
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid var(--primary-light);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Icon buttons (language, panel, theme) */
.app-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    font-size: 16px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 200ms ease, color 200ms ease;
}

.app-header__icon-btn:hover,
.app-header__icon-btn:focus {
    background: var(--primary-light);
    color: var(--primary-color);
    text-decoration: none !important;
}

/* Language button — wider for icon + locale code */
.app-header__icon-btn--lang {
    width: auto;
    padding: 0 12px;
    gap: 6px;
}

.app-header__lang-code {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Suppress Bootstrap dropdown caret */
.app-header__icon-btn.dropdown-toggle::after,
.app-header__profile.dropdown-toggle::after {
    display: none;
}

/* Dropdown panel */
.app-header__dropdown {
    min-width: 184px;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    background: var(--white-color) !important;
    padding: 4px !important;
    margin-top: 8px !important;
}

.app-header__dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-heading) !important;
    transition: background 150ms ease, color 150ms ease;
}

.app-header__dropdown-item:hover {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
}

.app-header__dropdown-item--danger {
    color: var(--red) !important;
}

.app-header__dropdown-item--danger:hover {
    background: var(--primary-bg) !important;
    color: var(--red) !important;
}

.app-header__dropdown .dropdown-divider {
    margin: 4px 0;
    border-color: var(--border-color);
}

/* Profile button */
.app-header__profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 4px 10px 4px 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color 200ms ease, background 200ms ease;
}

.app-header__profile:hover,
.app-header__profile:focus {
    border-color: var(--primary-light);
    background: var(--primary-bg);
    text-decoration: none !important;
}

.app-header__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    flex-shrink: 0;
}

.app-header__profile-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-header__chevron {
    font-size: 10px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* ---- Responsive ---- */

@media (max-width: 991px) {
    .app-header {
        padding: 0 16px;
        gap: 8px;
    }

    .app-header__toggle {
        display: inline-flex;
    }

    .app-header__logo {
        display: block;
    }

    .app-header__title {
        display: none;
    }
}

@media (max-width: 575px) {

    .app-header__profile-name,
    .app-header__chevron {
        display: none;
    }

    .app-header__profile {
        padding: 4px;
        border: none;
    }

    .app-header__lang-code {
        display: none;
    }

    .app-header__icon-btn--lang {
        width: 40px;
        padding: 0;
    }
}


/* # sourceMappingURL=style.css.map */

/* ============================================================
   SIDEBAR — sdb-* redesign
   ============================================================ */

/* ---- Override legacy: partition label ---- */
.partition {
    border-bottom: none;
    line-height: 1;
    margin: 0;
}

.partition span {
    background: none;
    padding: 0;
}

/* ---- Layout dimensions ---- */
.sidebar.sdb-nav {
    width: 264px;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

@media (min-width: 1680px) {
    .sidebar.sdb-nav {
        width: 280px;
    }
}

.right-content {
    margin-left: 264px;
}

@media (min-width: 1680px) {
    .right-content {
        margin-left: 280px;
    }
}

.right-content.right-content-0 {
    margin-left: 72px;
}

/* ---- Scrollbar ---- */
/* .sdb-nav::-webkit-scrollbar {
    width: 4px;
}

.sdb-nav::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
} */

/* ---- Logo header — aligns with app-header height ---- */
.sdb-nav__head {
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sdb-nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    overflow: hidden;
    max-width: 180px;
    transition: opacity 250ms ease, max-width 250ms ease;
}

.sdb-nav__logo h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.sdb-nav__collapse-btn span {
    background: var(--text-secondary) !important;
    transition: background 180ms ease !important;
}

.sdb-nav__collapse-btn:hover span {
    background: var(--primary-color) !important;
}

/* ---- Scrollable list ---- */
.sdb-nav .side-menu.sdb-nav__list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 12px 24px;
    margin: 0 !important;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

/* ---- Section labels ---- */
.sdb-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px 8px 6px;
    list-style: none;
    overflow: hidden;
}

.sdb-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.sdb-section-label>span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    background: none !important;
    padding: 0 !important;
    margin: 0;
}

/* ---- Nav item ---- */
.sdb-nav__item {
    list-style: none;
    position: relative;
}

.sdb-nav__link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 12px !important;
    border-radius: 8px;
    color: var(--text-heading) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    margin: 2px 0 !important;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    background: transparent !important;
    transition: background 180ms ease, color 180ms ease;
}

.sdb-nav__link:hover {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.sdb-nav__link:hover .sdb-nav__icon {
    color: var(--primary-color);
}

.sdb-nav__icon {
    font-size: 15px !important;
    width: 20px;
    min-width: 20px;
    text-align: center;
    color: var(--text-secondary);
    transition: color 180ms ease;
    line-height: 1;
    filter: none !important;
}

.sdb-nav__text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 200ms ease;
}

/* Dropdown caret */
.sdb-nav .side-menu .dropdown-toggle::after {
    position: static;
    top: auto;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.4;
    transition: transform 200ms ease;
}

.sdb-nav .side-menu li.dropdown.show>.sdb-nav__link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ---- Active state ---- */
.sdb-nav__item.active>.sdb-nav__link {
    background: var(--primary-light) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.sdb-nav__item.active>.sdb-nav__link .sdb-nav__icon {
    color: var(--primary-color);
    filter: none !important;
}

.sdb-nav__item.active>.sdb-nav__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
}

/* Remove old right-side indicator */
.sdb-nav .side-menu .side_line.active a::after {
    content: none !important;
}

/* ---- Submenu ---- */
.sdb-submenu {
    position: relative !important;
    transform: none !important;
    float: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 2px 0 4px 16px !important;
    margin: 0 !important;
    width: 100%;
    display: block !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 260ms ease, opacity 200ms ease;
}

.sdb-submenu.show {
    max-height: 400px;
    opacity: 1;
}

.sdb-submenu::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: var(--primary-light);
    border-radius: 1px;
}

.sdb-submenu__item {
    list-style: none;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.sdb-submenu__link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 10px 0 16px !important;
    border-radius: 8px;
    color: var(--text-secondary) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    background: transparent !important;
    margin: 1px 0;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    transition: background 180ms ease, color 180ms ease;
}

.sdb-submenu__link:hover {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
}

.sdb-submenu__icon {
    font-size: 13px !important;
    width: 16px;
    min-width: 16px;
    text-align: center;
    color: inherit;
    filter: none !important;
    transition: color 180ms ease;
}

.sdb-submenu__item.active .sdb-submenu__link {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.sdb-submenu__item.active .sdb-submenu__icon {
    color: var(--primary-color);
    filter: none !important;
}

/* ---- Logout ---- */
.sdb-nav__link--logout {
    color: var(--red) !important;
}

.sdb-nav__link--logout .sdb-nav__icon {
    color: var(--red) !important;
}

.sdb-nav__link--logout:hover {
    background: var(--primary-bg) !important;
    color: var(--red) !important;
}

/* ============================================================
   SIDEBAR — Collapsed state (desktop: hide-sidebar)
   ============================================================ */
@media (min-width: 1024px) {
    .sidebar.sdb-nav.hide-sidebar {
        width: 72px;
        padding: 0;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-nav__logo {
        opacity: 0;
        max-width: 0;
        pointer-events: none;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-nav__head {
        padding: 0;
        justify-content: center;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-section-label {
        padding: 14px 8px 4px;
        gap: 0;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-section-label>span {
        display: none;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-section-label::after {
        opacity: 0.5;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-nav__text {
        opacity: 0;
        max-width: 0;
        pointer-events: none;
        overflow: hidden;
    }

    .sidebar.sdb-nav.hide-sidebar .side-menu .dropdown-toggle::after {
        display: none;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-nav__link {
        justify-content: center;
        padding: 0 !important;
        width: 44px;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-nav__item.active>.sdb-nav__link::before {
        display: none;
    }

    .sidebar.sdb-nav.hide-sidebar .side-menu.sdb-nav__list {
        padding: 8px 4px 24px;
    }

    .sidebar.sdb-nav.hide-sidebar .sdb-submenu {
        display: none !important;
    }

    /* Tooltip on icon hover */
    .sidebar.sdb-nav.hide-sidebar .sdb-nav__link[data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        background: var(--text-heading);
        color: var(--white-color);
        font-size: 12px;
        font-weight: 500;
        padding: 6px 10px;
        border-radius: 6px;
        white-space: nowrap;
        z-index: 200;
        pointer-events: none;
    }
}

/* ============================================================
   SIDEBAR — Mobile responsive
   ============================================================ */
@media (max-width: 991px) {
    .sidebar.sdb-nav {
        left: -264px;
        width: 264px;
    }

    .sidebar.sdb-nav.hide-sidebar {
        left: 0;
        width: 264px;
    }

    .right-content {
        margin-left: 0;
    }

    .sdb-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--black-50);
        z-index: 29;
    }

    .sdb-overlay.active {
        display: block;
    }
}

/* ============================================================
   SPECIALITY MODULE — Page Header
   ============================================================ */

.spl-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spl-page-header__left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spl-page-header__left .page-title-sm {
    margin-bottom: 4px;
}

.spl-page-header__left .breadcrumb {
    margin-bottom: 0;
    padding: 4px 0;
    background: transparent;
    /* font-size: 13px; */
}

.spl-page-header__right {
    display: flex;
    align-items: center;
    padding-top: 4px;
}

/* ============================================================
   SPECIALITY MODULE — Buttons
   ============================================================ */

.spl-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    /* padding: 10px 20px; */
    background: var(--primary-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.spl-sort-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: 0 2px 8px var(--primary-light);
}

.spl-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* font-size: 14px; */
    font-weight: 600;
    border-radius: 50px;
    /* padding: 10px 20px; */
    background: transparent;
    color: var(--black-color);
    border: 1px solid var(--black-color);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.spl-btn-cancel:hover {
    background: var(--black-50);
    color: var(--white-color);
    border-color: var(--white-color);
}

/* ============================================================
   SPECIALITY MODULE — Form
   ============================================================ */

.spl-form-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* .spl-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
} */

/* @media (max-width: 767px) {
    .spl-form-grid {
        grid-template-columns: 1fr;
    }
} */

.spl-form-field {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   SPECIALITY MODULE — Image Upload Zone
   ============================================================ */

.spl-upload-wrapper {
    max-width: 100%;
}

.spl-upload-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Size */
    width: 220px;
    /* same as image */
    height: 170px;
    /* same as image */
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--primary-bg);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
    padding: 24px 16px;
    margin: 0;
}

.spl-upload-zone {
    width: 100%;
    max-width: 210px;
    height: 160px;
}

.spl-upload-zone:hover,
.spl-upload-zone.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.spl-upload-zone.spl-has-file {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.spl-upload-icon {
    font-size: 28px;
    color: var(--primary-color);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.spl-upload-zone:hover .spl-upload-icon {
    transform: translateY(-3px);
}

.spl-upload-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    pointer-events: none;
}

.spl-upload-hint {
    font-size: 12px;
    color: var(--text-secondary);
    pointer-events: none;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.spl-upload-zone.spl-has-file .spl-upload-hint {
    color: var(--primary-color);
    font-weight: 500;
}

.spl-upload-preview-img {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* ============================================================
   SPECIALITY MODULE — Table
   ============================================================ */

.spl-table-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 0;
    overflow: hidden;
}

.spl-table-toolbar {
    padding: 16px 20px;
    /* border-bottom: 1px solid var(--border-color); */
    background: var(--assest-color);
}

.spl-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    transition: border-color 0.2s ease;
}

.spl-search-wrap:focus-within {
    border-color: var(--primary-color);
    background: var(--assest-color);
}

.spl-search-icon {
    color: var(--text-secondary);
    font-size: 14px;
    flex-shrink: 0;
}

.spl-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-heading);
    width: 100%;
    font-family: var(--font);
}

.spl-search-input::placeholder {
    color: var(--text-secondary);
}

.spl-table-card .table-responsive {
    padding: 0;
}

.spl-table-card .table thead th {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--primary-light);
    border-bottom: 1px solid var(--border-color);
}

.spl-table-card .table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-heading);
}

.spl-table-card .table tbody tr:hover td {
    background-color: var(--primary-bg) !important;
}

/* Action icon buttons — scoped to speciality table */
.spl-table-card .edit-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: 2px dashed transparent;
    /* color: var(--text-secondary); */
    background: var(--primary-light);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    box-shadow: none;
}

.spl-table-card .edit-delete-btn:hover {
    background: var(--white-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
}


.spl-table-card .edit-delete-btn i {
    /* font-size: 13px; */
    color: var(--primary-color);
}

.spl-table-card .d-flex.justify-content-around {
    gap: 6px;
    justify-content: center !important;
}

/* Toggle switch — scoped to speciality table */
.spl-table-card .show-btn,
.spl-table-card .hide-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    outline: none;
    transition: color 0.25s ease;
}

.spl-table-card .show-btn:focus,
.spl-table-card .hide-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Track pseudo-element */
.spl-table-card .show-btn::before,
.spl-table-card .hide-btn::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 40px;
    height: 22px;
    border-radius: 11px;
    transition: background 0.25s ease;
}

/* Thumb pseudo-element — positioned inside track */
.spl-table-card .show-btn::after,
.spl-table-card .hide-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: left 0.25s ease;
}

/* Active — green track, thumb right */
.spl-table-card .show-btn {
    color: var(--success);
}

.spl-table-card .show-btn::before {
    background: var(--success);
}

.spl-table-card .show-btn::after {
    left: 21px;
}

/* Inactive — red track, thumb left */
.spl-table-card .hide-btn {
    color: var(--danger);
}

.spl-table-card .hide-btn::before {
    background: var(--danger);
}

.spl-table-card .hide-btn::after {
    left: 3px;
}

/* ============================================================
   SPECIALITY MODULE — Modals
   ============================================================ */

.spl-modal-content {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.spl-modal-header {
    padding: 20px 24px 16px;
}

.spl-modal-body {
    padding: 20px 24px;
}

.spl-modal-footer {
    padding: 16px 24px 20px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ============================================================
   SPECIALITY MODULE — Sortable Items
   ============================================================ */

.spl-sortable-body {
    padding: 16px 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.spl-sort-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: grab;
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    user-select: none;
}

.spl-sort-item:last-child {
    margin-bottom: 0;
}

.spl-sort-item:hover {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.spl-sort-handle {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: grab;
    flex-shrink: 0;
}

.spl-sort-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-heading);
}

@media (max-width: 575px) {
    .spl-sort-btn span {
        display: none;
    }
}

.uf-form-actions {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 13px 0;
    margin-top: 4px;
    background: var(--white-color);
    border-top: 1px solid var(--primary-light);
    /* box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04); */
}

/* ─── Promotion Module ───────────────────────────────── */

/* URL chip */
.prm-url-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    max-width: 260px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.prm-url-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.prm-url-icon {
    color: var(--primary-color);
    font-size: 11px;
    flex-shrink: 0;
}

.prm-url-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    transition: color 0.15s ease;
}

.prm-url-chip:hover .prm-url-text {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ─── Roles & Permissions Module ──────────────────────────── */

/* Table — inherits from .spl-table-card */
/* Layout — section cards in a 3-col responsive grid */
.rp-sections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 991px) {
    .rp-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .rp-sections-grid {
        grid-template-columns: 1fr;
    }
}

/* Permission Section Cards */
.rp-section {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--assest-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.rp-section-header {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
}

.rp-section-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* Permission Row — name left, toggle right */
.rp-perm-list {
    display: flex;
    flex-direction: column;
}

.rp-perm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    margin: 0;
    transition: background 0.15s ease;
}

.rp-perm-row:last-child {
    border-bottom: none;
}

.rp-perm-row:hover {
    background: var(--primary-bg);
}

.rp-perm-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rp-perm-row__name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.rp-perm-row:hover .rp-perm-row__name {
    color: var(--text-heading);
}

/* Permission Toggle — CSS-driven via :checked sibling selector */
.rp-row-toggle {
    flex-shrink: 0;
}

.rp-row-toggle__track {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--border-color);
    transition: background 0.25s ease;
}

.rp-row-toggle__track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: left 0.25s ease;
}

.rp-perm-checkbox:checked~.rp-row-toggle .rp-row-toggle__track {
    background: var(--primary-color);
}

.rp-perm-checkbox:checked~.rp-row-toggle .rp-row-toggle__track::after {
    left: 18px;
}

/* Select All Toggle */
.rp-select-all-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rp-select-all-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

.rp-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.rp-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rp-toggle__track {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--border-color);
    transition: background 0.25s ease;
}

.rp-toggle__track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: left 0.25s ease;
}

.rp-toggle__input:checked+.rp-toggle__track {
    background: var(--primary-color);
}

.rp-toggle__input:checked+.rp-toggle__track::after {
    left: 23px;
}

/* ============================================================
   Appointment Module — Stat Cards
   ============================================================ */

.apt-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1199px) {
    .apt-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .apt-stat-grid {
        grid-template-columns: 1fr;
    }
}

.apt-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.apt-stat-card:hover {
    box-shadow: 0 4px 16px var(--primary-light);
    transform: translateY(-2px);
}

.apt-stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.apt-stat-body {
    min-width: 0;
}

.apt-stat-count {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.apt-stat-title {
    /* font-size: 12px; */
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   Appointment Module — Toolbar, Filters & Tabs
   ============================================================ */

.apt-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.apt-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apt-filter-item {
    flex: 1 1 220px;
    min-width: 0;
}

.apt-filter-item .form-control,
.apt-filter-item .select2-container {
    width: 100% !important;
    height: 38px;
    font-size: 13px;
    border-color: var(--border-color);
    border-radius: 8px;
}

.apt-filter-date .form-control {
    height: 38px;
    font-size: 13px;
    border-color: var(--border-color);
    border-radius: 8px;
}

.apt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.apt-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.apt-tab-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--text-heading);
}

.apt-tab-link:focus,
.apt-tab-link:active {
    outline: none;
    box-shadow: none;
}

.apt-tab-link.active {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.apt-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--border-color);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}

.apt-tab-link.active .apt-tab-count {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ============================================================
   Appointment Module — User Cell
   ============================================================ */

.apt-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.apt-user-avatar {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.apt-user-info {
    display: flex;
    flex-direction: column;
    /* text-align: left; */
    min-width: 0;
}

.apt-user-name {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.apt-user-fullname {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   Appointment Module — Chips & Badges
   ============================================================ */

.apt-appt-no {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--primary-bg);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.apt-type-chip {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    /* background: var(--primary-bg); */
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 500;
}

.apt-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--border-color);
    color: var(--text-secondary);
}

.apt-type-badge.apt-type--online {
    background: rgba(34, 197, 94, 0.12);
    color: var(--success);
}

.apt-type-badge.apt-type--physical {
    background: rgba(14, 165, 233, 0.12);
    color: var(--blue);
}

.apt-type--homecare {
    background-color: rgba(227, 0, 11, 0.1);
    /* based on your --red */
    color: var(--red);
}

/* ============================================================
   Appointment Module — Amount
   ============================================================ */

.apt-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.apt-footer-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.apt-footer-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    vertical-align: middle;
}

/* ============================================================
   Appointment Transaction — Earning Cards
   ============================================================ */

.apt-earn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .apt-earn-grid {
        grid-template-columns: 1fr;
    }
}

.apt-earn-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 24px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.apt-earn-card:hover {
    box-shadow: 0 4px 18px var(--primary-light);
    transform: translateY(-2px);
}

.apt-earn-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 22px;
}

.apt-earn-body {
    min-width: 0;
}

.apt-earn-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.apt-earn-label {
    /* font-size: 12px; */
    color: var(--text-secondary);
    margin-top: 3px;
}

/* ============================================================
   Appointment Module — Status Display Pills (read-only column)
   ============================================================ */

.apt-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    /* font-size: 12px; */
    font-weight: 500;
    white-space: nowrap;
    background: var(--primary-bg);
    color: var(--text-secondary);
}

.apt-status-pill i {
    font-size: 11px;
}

.apt-status--draft {
    background: rgba(100, 116, 139, 0.1);
    color: var(--gray);
}

.apt-status--pending {
    background: rgba(255, 193, 7, 0.12);
    color: var(--gray);
}

.apt-status--approved {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.apt-status--cancel {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.apt-status--absent {
    background: rgba(253, 126, 20, 0.1);
    color: var(--orange);
}

.apt-status--completed {
    background: rgba(13, 110, 253, 0.1);
    color: var(--blue);
}

/* ============================================================
   Appointment Module — Action Dropdown (status changer)
   ============================================================ */

.apt-action-dropdown {
    display: inline-flex;
    justify-content: center;
}

.apt-action-trigger {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--assest-color);
    color: var(--text-secondary);
    font-size: 14px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.apt-action-trigger:hover,
.apt-action-trigger:focus {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    outline: none;
    box-shadow: none;
}

.apt-action-menu {
    min-width: 150px;
    padding: 6px 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.apt-action-menu>div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
    gap: 2px;
}

.apt-action-menu a {
    display: flex !important;
    align-items: center;
    padding: 7px 14px;
    text-decoration: none;
    transition: background 0.12s ease;
    margin: 0 !important;
    border-radius: 0;
}

.apt-action-menu a:hover {
    background: var(--primary-light);
}

.apt-action-menu .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    background: none !important;
    border-radius: 0;
    /* color: var(--text-heading); */
}

.apt-action-menu .status-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    flex-shrink: 0;
}

.apt-action-menu .status-badge.approved::before {
    background: var(--success);
}

.apt-action-menu .status-badge.cancel::before {
    background: var(--danger);
}

.apt-action-menu .status-badge.absent::before {
    background: var(--orange);
}

.apt-action-menu .status-badge.completed::before {
    background: var(--blue);
}

.apt-action-menu .status-badge.pending::before {
    background: var(--warning);
}

/* ============================================================
   Doctor Module — KYC / Panel status pills
   ============================================================ */

.spl-table-card .pending-btn,
.spl-table-card .approved-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.spl-table-card .pending-btn {
    background: rgba(255, 193, 7, 0.12);
    color: var(--gray);
}

.spl-table-card .pending-btn:hover {
    background: rgba(255, 193, 7, 0.22);
}

.spl-table-card .approved-btn {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.spl-table-card .approved-btn:hover {
    background: rgba(25, 135, 84, 0.2);
}

/* ============================================================
   Doctor Module — Export toolbar row
   ============================================================ */

.dr-export-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
    /* border-top: 1px solid var(--border-color); */
}

.dr-export-label {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dr-export-label .fa-circle-info {
    color: var(--primary-color);
    font-size: 14px;
}

.dr-export-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ============================================================
   Doctor Module — Login type icon
   ============================================================ */

.dr-login-icon {
    color: var(--text-secondary);
    font-size: 18px;
}

/* ============================================================
   Doctor Module — Pill selector (Yes / No)
   ============================================================ */

.dr-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.dr-pill-input {
    display: none;
}

.dr-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.dr-pill-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--text-heading);
}

.dr-pill-input:checked+.dr-pill-btn {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================================
   Doctor Module — Schedule / Vacation data indicator dot
   ============================================================ */

.dr-indicator-wrap {
    position: relative;
    display: inline-flex;
}

.dr-indicator-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: var(--green);
    border: 2px solid var(--white-color);
    animation: dr-pulse 1.8s ease-in-out infinite;
}

@keyframes dr-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* ============================================================
   Doctor Module — Info banner (vacation / schedule notes)
   ============================================================ */

.dr-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #1E40AF;
    margin-bottom: 20px;
    line-height: 1.5;
}

.dr-info-banner .dr-info-icon {
    color: var(--primary-color);
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ============================================================
   Schedule Page — modern slot rows & icon buttons
   ============================================================ */

.schedule-group {
    border: 1px solid var(--border-color);
}


.sch-date-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    display: block;
}

.slot-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--primary-bg);
    padding: 12px 16px;
    margin-bottom: 0;
    transition: border-color 0.15s ease;
}

.slot-card:hover {
    border-color: var(--primary-color);
}

.slot-times .badge {
    background: var(--primary-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
}

.sch-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sch-icon-btn.sch-btn-add {
    background: color-mix(in srgb, var(--green) 14%, transparent);
    color: var(--green);
}

.sch-icon-btn.sch-btn-add:hover {
    background: color-mix(in srgb, var(--green) 25%, transparent);
}

.sch-icon-btn.sch-btn-remove {
    background: color-mix(in srgb, var(--red) 14%, transparent);
    color: var(--red);
}

.sch-icon-btn.sch-btn-remove:hover {
    background: color-mix(in srgb, var(--red) 25%, transparent);
}

.sch-icon-btn.sch-btn-delete {
    background: color-mix(in srgb, var(--red) 14%, transparent);
    color: var(--red);
    border-radius: 8px;
    padding: 7px 14px;
}

.sch-icon-btn.sch-btn-delete:hover {
    background: color-mix(in srgb, var(--red) 25%, transparent);
}

.sch-btn-add:focus,
.sch-btn-add:active,
.sch-btn-remove:focus,
.sch-btn-remove:active,
.sch-btn-delete:focus,
.sch-btn-delete:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* ============================================================
   KYC Module — Action pill toggle
   ============================================================ */

.kyc-action-pills {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.kyc-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: var(--primary-bg);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.kyc-pill--approve:hover,
.kyc-pill--approve-active {
    background: #DCFCE7;
    border-color: #22C55E;
    color: #15803D;
}

.kyc-pill--reject:hover,
.kyc-pill--reject-active {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #DC2626;
}

/* ============================================================
   KYC Detail Page — structured field layout
   ============================================================ */

.kyc-detail-section {
    margin-bottom: 24px;
}

.kyc-detail-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.kyc-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--body-bg-color);
}

.kyc-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kyc-detail-label {
    min-width: 150px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    flex-shrink: 0;
    padding-top: 1px;
}

.kyc-detail-value {
    font-size: 14px;
    color: var(--text-heading);
    font-weight: 500;
    word-break: break-word;
    flex: 1;
}

/* ============================================================
   KYC Detail Page — document box
   ============================================================ */

.kyc-doc-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--body-bg-color);
    text-decoration: none;
    color: var(--text-heading);
    transition: border-color 0.15s ease, background 0.15s ease;
    margin-bottom: 10px;
}

.kyc-doc-box:last-child {
    margin-bottom: 0;
}

.kyc-doc-box:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
    text-decoration: none;
    color: var(--text-heading);
}

.kyc-doc-box--empty {
    opacity: 0.6;
    cursor: default;
}

.kyc-doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.kyc-doc-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.kyc-doc-info {
    flex: 1;
    overflow: hidden;
}

.kyc-doc-title {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2px;
}

.kyc-doc-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kyc-doc-box:hover .kyc-doc-name {
    color: var(--primary-color);
}

/* ============================================================
   Patient Module — Toolbar search + filter inline row
   ============================================================ */

.pt-toolbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pt-toolbar-row .spl-search-wrap {
    flex: 1;
    min-width: 0;
    width: auto;
}

.pt-toolbar-row .apt-filter-row {
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.pt-toolbar-row .apt-filter-item {
    flex: 0 0 auto;
    min-width: 150px;
}

@media (max-width: 768px) {
    .pt-toolbar-row {
        flex-wrap: wrap;
    }

    .pt-toolbar-row .spl-search-wrap,
    .pt-toolbar-row .apt-filter-row {
        width: 100%;
        flex-wrap: wrap;
    }

    .pt-toolbar-row .apt-filter-item {
        flex: 1 1 140px;
    }
}

/* ============================================================
   Patient Dashboard Detail — Info Panels (pdd-*)
   ============================================================ */

.pdd-section-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.pdd-section-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.pdd-section-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.pdd-info-panel {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pdd-info-panel:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.pdd-panel-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.pdd-panel-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 20px;
    transition: background 0.2s ease;
}

.pdd-info-panel:hover .pdd-panel-icon-wrap {
    background: var(--primary-light);
}

.pdd-panel-text {
    min-width: 0;
}

.pdd-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdd-panel-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.pdd-panel-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.pdd-panel-count {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .pdd-section-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdd-section-grid--2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {

    .pdd-section-grid--3col,
    .pdd-section-grid--2col {
        grid-template-columns: 1fr;
    }

    .pdd-panel-count {
        font-size: 20px;
    }
}

/* ============================================================
   CONTENT MODULE — Article, Blog, FAQ  (cms-*)
   ============================================================ */

/* ── Shared: Empty state ────────────────────────────────── */
.cms-content-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-secondary);
}

.cms-content-empty i {
    display: block;
    margin-bottom: 12px;
    opacity: 0.35;
    color: var(--text-secondary);
}

.cms-content-empty p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* ── Article: Horizontal card list ─────────────────────── */
.cms-article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.cms-article-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cms-article-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
    box-shadow: 0 4px 16px rgba(255, 109, 0, 0.07);
}

.cms-article-thumb-wrap {
    flex-shrink: 0;
}

.cms-article-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    display: block;
}

.cms-thumb-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 22px;
}

.cms-article-body {
    flex: 1;
    min-width: 0;
}

.cms-article-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cms-article-meta {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.cms-article-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 575px) {
    .cms-article-card {
        flex-wrap: wrap;
    }

    .cms-article-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ── Blog: Grid card layout ─────────────────────────────── */
.cms-blog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding-top: 4px;
}

@media (max-width: 991px) {
    .cms-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .cms-blog-grid {
        grid-template-columns: 1fr;
    }
}

.cms-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cms-blog-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.1);
    transform: translateY(-2px);
}

.cms-blog-cover-wrap {
    height: 160px;
    overflow: hidden;
    background: var(--primary-bg);
    flex-shrink: 0;
}

.cms-blog-cover-wrap.cms-blog-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 28px;
    opacity: 0.5;
}

.cms-blog-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cms-blog-card:hover .cms-blog-cover {
    transform: scale(1.04);
}

.cms-blog-body {
    padding: 14px 16px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cms-blog-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.cms-blog-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.cms-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 14px;
    border-top: 1px solid var(--border-color);
    gap: 8px;
    flex-wrap: wrap;
}

/* ── FAQ: Accordion management UI ─────────────────────── */
.cms-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.cms-faq-item {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cms-faq-item.open {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(255, 109, 0, 0.07);
}

.cms-faq-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.cms-faq-header:hover {
    background: var(--primary-bg);
}

.cms-faq-item.open .cms-faq-header {
    background: var(--primary-bg);
}

.cms-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid var(--primary-light);
    transition: background 0.15s ease;
}

.cms-faq-item.open .cms-faq-icon {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.cms-faq-question {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
    min-width: 0;
    line-height: 1.45;
}

.cms-faq-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cms-faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    outline: none;
}

.cms-faq-toggle:hover {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cms-faq-toggle:focus,
.cms-faq-toggle:active {
    outline: none;
    box-shadow: none;
}

.cms-faq-item.open .cms-faq-toggle {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cms-faq-item.open .cms-faq-toggle i {
    transform: rotate(180deg);
    display: inline-block;
    transition: transform 0.2s ease;
}

.cms-faq-body {
    display: none;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
    background: var(--primary-bg);
}

.cms-faq-item.open .cms-faq-body {
    display: block;
}

.cms-faq-body-hint {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

@media (max-width: 575px) {
    .cms-faq-header {
        flex-wrap: wrap;
    }

    .cms-faq-actions {
        width: 100%;
        justify-content: flex-start;
        padding-left: 44px;
    }
}

/* ============================================================
   Settings Modules — stg-*
   (Appointment Control, Notification, Panel Settings,
    App Settings, Payment Gateway, System Settings)
   ============================================================ */

/* --- Info Banner --- */
.stg-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 16px 20px;
}

.stg-info-banner__icon {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.stg-info-banner__body {
    flex: 1;
}

.stg-info-banner__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stg-guide-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stg-guide-pill {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    background: var(--assest-color);
    border: 1px solid var(--primary-light);
    border-radius: 99px;
    padding: 5px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stg-guide-pill strong {
    color: var(--text-heading);
}

/* --- Section Label --- */
.stg-section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 10px;
    display: block;
}

/* --- Booking Options (selectable cards) --- */
.stg-booking-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stg-booking-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.stg-booking-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 116px;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: var(--assest-color);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
    margin: 0;
}

.stg-booking-option:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
}

.stg-booking-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-bg);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.stg-booking-option-icon {
    font-size: 20px;
    color: var(--text-secondary);
    transition: color 0.18s ease;
}

.stg-booking-option.selected .stg-booking-option-icon,
.stg-booking-option:hover .stg-booking-option-icon {
    color: var(--primary-color);
}

.stg-booking-option-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
    transition: color 0.18s ease;
}

.stg-booking-option.selected .stg-booking-option-label {
    color: var(--primary-color);
    font-weight: 600;
}

.stg-days-input {
    max-width: 200px;
}

/* --- Date Card --- */
.stg-date-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 220px;
    margin-bottom: 16px;
}

.stg-date-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stg-date-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stg-date-card__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stg-date-card__value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
}

.stg-date-hidden {
    display: none !important;
}

/* --- Status Summary --- */
.stg-status-summary {
    background: var(--primary-bg);
    border: 1px dashed var(--primary-light);
    border-radius: 8px;
    padding: 16px 20px;
}

.stg-status-summary__row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stg-status-summary__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stg-status-summary__icon {
    font-size: 18px;
    color: var(--primary-color);
}

.stg-status-summary__key {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stg-status-summary__val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
}

.stg-status-summary__note {
    margin: 10px 0 0 0;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    width: 100%;
}

/* Status Pills */
.stg-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 99px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

.stg-status-active {
    background: #ecfdf5;
    color: var(--green);
    border: 1px solid #bbf7d0;
}

.stg-status-inactive {
    background: #fef2f2;
    color: var(--red);
    border: 1px solid #fecaca;
}

/* --- Toggle Switch --- */
.stg-toggle-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.stg-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.stg-toggle-track {
    display: block;
    width: 42px;
    height: 24px;
    border-radius: 12px;
    background: var(--border-color);
    position: relative;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.stg-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.stg-toggle-input:checked+.stg-toggle-track {
    background: var(--primary-color);
}

.stg-toggle-input:checked+.stg-toggle-track::after {
    transform: translateX(18px);
}

.stg-toggle-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Master Toggle --- */
.stg-master-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.stg-master-toggle__info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stg-master-toggle__icon {
    font-size: 18px;
    color: var(--primary-color);
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 10px;
    padding: 10px 12px;
    flex-shrink: 0;
}

.stg-master-toggle__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 3px 0;
}

.stg-master-toggle__desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Notification List Table --- */
.stg-notif-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-light);
}

.stg-notif-list-header>span:first-child {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stg-notif-list-header__toggles {
    display: flex;
    gap: 12px;
}

.stg-notif-list-header__toggles span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 42px;
    text-align: center;
    display: block;
}

.stg-notif-table-wrap {
    padding: 0;
    overflow-x: auto;
}

.stg-notif-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.stg-notif-table thead {
    display: none;
}

.stg-notif-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}

.stg-notif-table tbody tr:last-child {
    border-bottom: none;
}

.stg-notif-table tbody tr:hover {
    background-color: var(--primary-light);
}

.stg-notif-table td {
    padding: 13px 20px;
    vertical-align: middle;
}

.stg-notif-table td:first-child {
    width: 100%;
}

.stg-notif-table td:nth-child(2),
.stg-notif-table td:nth-child(3) {
    width: 66px;
    text-align: center;
}

.stg-notif-table tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.stg-notif-table tbody tr:nth-of-type(even) {
    background-color: var(--primary-bg);
}

.stg-notif-type-badge {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-heading);
    display: block;
    text-align: left;
}

.stg-notif-save-bar {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
    background: var(--primary-bg);
}

/* --- Login Type Preview Cards --- */
.stg-login-type-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stg-login-type-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.stg-login-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    background: var(--assest-color);
    margin: 0;
}

.stg-login-type-card:hover {
    border-color: var(--primary-color);
}

.stg-login-type-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.stg-login-type-card__preview {
    width: 100%;
    height: 96px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    color: var(--primary-color);
    transition: background 0.2s ease;
}

.stg-login-type-card.selected .stg-login-type-card__preview {
    background: var(--primary-light);
}

.stg-login-preview-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stg-login-preview-lines span {
    display: block;
    height: 4px;
    border-radius: 3px;
    background: var(--primary-color);
    opacity: 0.35;
}

.stg-login-preview-lines span:nth-child(1) {
    width: 48px;
}

.stg-login-preview-lines span:nth-child(2) {
    width: 32px;
}

.stg-login-preview-lines span:nth-child(3) {
    width: 40px;
}

.stg-login-preview-chip {
    display: block;
    width: 34px;
    height: 48px;
    border-radius: 6px;
    background: var(--primary-color);
    opacity: 0.3;
}

.stg-login-type-card__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 9px 8px;
    text-align: center;
    width: 100%;
    border-top: 1px solid var(--border-color);
    background: var(--assest-color);
    transition: color 0.2s ease;
    box-sizing: border-box;
}

.stg-login-type-card.selected .stg-login-type-card__label {
    color: var(--primary-color);
    background: var(--primary-bg);
}

/* --- Provider Cards (Payment Gateway) --- */
.stg-payment-search-bar {
    padding: 16px 20px 4px;
}

.stg-provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 15px;
    min-height: 80px;
}

.stg-provider-card {
    flex: 1 1 200px;
    max-width: 280px;
    background: var(--assest-color);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stg-provider-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(255, 109, 0, 0.08);
}

.stg-provider-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stg-provider-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stg-provider-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    flex: 1;
    min-width: 0;
}

.stg-provider-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.stg-env-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 99px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.stg-env-badge.live {
    background: #ecfdf5;
    color: var(--green);
    border: 1px solid #bbf7d0;
}

.stg-env-badge.sandbox {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.stg-provider-status {
    display: inline-flex;
    align-items: center;
    border-radius: 99px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 600;
}

.stg-provider-status.active {
    background: #ecfdf5;
    color: var(--green);
    border: 1px solid #bbf7d0;
}

.stg-provider-status.inactive {
    background: #fef2f2;
    color: var(--red);
    border: 1px solid #fecaca;
}

.stg-provider-actions {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* --- System Setting Cards --- */
.stg-system-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stg-system-card {
    background: var(--assest-color);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stg-system-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(255, 109, 0, 0.06);
}

.stg-system-card-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    text-decoration: none !important;
}

.stg-system-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.stg-system-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.stg-system-card:hover .stg-system-icon {
    background: var(--primary-light);
}

.stg-system-info-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 3px 0;
}

.stg-system-info-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.stg-system-expand-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.stg-system-card-trigger[aria-expanded="true"] .stg-system-expand-btn {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.stg-system-card-trigger[aria-expanded="true"] .stg-system-expand-btn i {
    transform: rotate(180deg);
}

.stg-system-card-body {
    padding: 0 24px 20px;
    border-top: 1px solid var(--border-color);
}

.stg-system-body-note {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 14px 0 12px;
    line-height: 1.6;
    margin: 0;
}

.stg-system-body-action {
    display: flex;
    justify-content: flex-end;
}

/* --- App Settings Block (section grouping) --- */
.stg-settings-block {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.stg-settings-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border-color);
    /* background: var(--primary-bg); */
}

.stg-settings-block-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.stg-settings-block-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.stg-settings-block-body {
    padding: 20px;
}

/* Social provider row */
.stg-social-row {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

@media (max-width: 575px) {
    .stg-booking-option {
        min-width: 100px;
        padding: 10px 12px;
    }

    .stg-login-type-card {
        width: 130px;
    }

    .stg-provider-card {
        max-width: 100%;
    }

    .stg-system-card-trigger {
        padding: 16px;
    }

    .stg-system-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stg-system-card-body {
        padding: 0 16px 16px;
    }
}

/* ============================================================
   Payment Gateway — Premium Featured Layout  (stg-pay-*)
   ============================================================ */

/* Summary Bar */
.stg-pay-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    background: var(--primary-bg);
}

.stg-pay-summary__info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.stg-pay-summary__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.stg-pay-summary__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 2px 0;
}

.stg-pay-summary__desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.stg-pay-summary__stats {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.stg-pay-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 60px;
}

.stg-pay-stat__val {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1;
}

.stg-pay-stat__val--green {
    color: var(--green);
}

.stg-pay-stat__val--blue {
    color: var(--blue);
}

.stg-pay-stat__lbl {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Section Divider Label */
.stg-pay-section {
    padding: 20px 24px 12px;
}

.stg-pay-section__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.stg-pay-section__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Featured Active Gateway */
.stg-pay-featured {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: var(--assest-color);
    border: 1.5px solid var(--primary-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 109, 0, 0.07);
    transition: box-shadow 0.2s ease;
    flex-wrap: wrap;
    margin: 0 24px;
}

.stg-pay-featured:hover {
    box-shadow: 0 6px 28px rgba(255, 109, 0, 0.13);
}

.stg-pay-featured__left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 180px;
}

.stg-pay-featured__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--primary-bg);
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    flex-shrink: 0;
    letter-spacing: -1px;
}

.stg-pay-featured__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 6px 0;
}

.stg-pay-featured__sub {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.stg-pay-featured__badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.stg-pay-featured__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Unified Provider Grid */
/* .stg-pay-grid-wrap {
    padding: 0 24px 24px;
} */

.stg-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Premium horizontal card — same style as featured, used for ALL gateways */
.stg-pay-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--assest-color);
    border: 1.5px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 109, 0, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stg-pay-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 22px rgba(255, 109, 0, 0.11);
}

.stg-pay-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-bg);
    border: 1.5px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.stg-pay-card__body {
    flex: 1;
    min-width: 0;
}

.stg-pay-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 3px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stg-pay-card__sub {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0 0 7px 0;
}

.stg-pay-card__badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
}

.stg-pay-card__right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* empty / loading state */
.stg-pay-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

@media (max-width: 991px) {
    .stg-pay-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .stg-pay-grid {
        grid-template-columns: 1fr;
    }

    .stg-pay-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .stg-pay-grid-wrap {
        padding: 0 16px 20px;
    }

    .stg-pay-card {
        flex-wrap: wrap;
    }

    .stg-pay-card__right {
        width: 100%;
    }
}

/* ============================================================
   AUTH / LOGIN PAGE — Premium Healthcare SaaS Redesign
   ============================================================ */

/* Page root */
.auth-page {
    min-height: 100vh;
    /* display: flex; */
    overflow: hidden;
    position: relative;
}

/* Top-left floating logo */
.auth-page-logo {
    position: absolute;
    top: 24px;
    left: 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-page-logo__img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.auth-page-logo__name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}

@media (max-width: 991px) {
    .auth-page-logo {
        left: 20px;
        top: 20px;
    }

    .auth-page-logo__name {
        color: var(--text-heading);
    }
}

/* Centered brand block inside auth card */
.auth-card__brand {
    text-align: center;
    margin-bottom: 22px;
    padding-top: 4px;
}

.auth-card__app-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.auth-card__portal-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

/* ── LEFT PANEL ── */
.auth-left {
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.auth-left__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0F172A;
}

.auth-left__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg,
            rgba(10, 16, 33, 0.94) 0%,
            rgba(10, 20, 40, 0.80) 45%,
            rgba(255, 109, 0, 0.22) 100%);
}

/* Decorative glow shapes */
.auth-left__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
}

.auth-left__shape--1 {
    width: 480px;
    height: 480px;
    background: var(--primary-color);
    opacity: 0.13;
    bottom: -120px;
    left: -100px;
}

.auth-left__shape--2 {
    width: 260px;
    height: 260px;
    background: #6366f1;
    opacity: 0.10;
    top: -60px;
    right: -50px;
}

.auth-left__shape--3 {
    width: 160px;
    height: 160px;
    background: var(--primary-color);
    opacity: 0.07;
    top: 42%;
    right: 12%;
}

/* Content above overlay */
.auth-left__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 56px 52px;
    color: #fff;
}

.auth-left__bottom {
    margin-top: auto;
}

/* Logo row */
.auth-left__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 52px;
}

.auth-left__logo-icon {
    width: 40px;
    height: 40px;
    /* background: var(--primary-bg); */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    flex-shrink: 0;
}

.logo-img {
    width: 50px;
    /* adjust as needed */
    height: 50px;
    object-fit: contain;
}

.auth-left__logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}

/* Headline */
.auth-left__headline {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.6px;
}

.auth-left__headline span {
    color: var(--primary-color);
}

.auth-left__desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 450px;
}

/* Feature list */
.auth-left__features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 44px;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-feature__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 109, 0, 0.15);
    border: 1px solid rgba(255, 109, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.auth-feature__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

.auth-feature__text strong {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    display: block;
}

.auth-feature__text span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.50);
    display: block;
}

/* Floating glass stats card */
.auth-left__glass-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    padding: 18px 24px;
    max-width: 360px;
}

.auth-glass-stat {
    flex: 1;
    text-align: center;
}

.auth-glass-stat__num {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.auth-glass-stat__lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.50);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 500;
}

.auth-glass-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.13);
    margin: 0 6px;
}

/* Panel image (view_status == 2) */
.auth-panel-image {
    max-height: 460px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* ── RIGHT PANEL ── */
.auth-right {
    background: var(--body-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    overflow-y: auto;
}

/* Auth card */
.auth-card {
    width: 100%;
    max-width: 430px;
    background: var(--assest-color);
    border-radius: 20px;
    padding: 30px 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

/* Mobile brand */
.auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}

.auth-mobile-brand__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
}

/* Panel badge */
.auth-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 12.px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 0.1px;
}

.auth-panel-badge--doctor {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
    color: #0EA5E9;
}

.auth-panel-badge--drugstore {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: #22C55E;
}

.auth-panel-badge--receptionist {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.25);
    color: #A855F7;
}

/* Card title / subtitle */
.auth-card__title {
    font-size: 23px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 5px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.auth-card__subtitle {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Form groups */
.auth-form-group {
    margin-bottom: 18px;
}

.auth-form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 7px;
    display: block;
    letter-spacing: 0.1px;
}

/* Input wrapper with icon */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
}

.auth-form-control {
    padding-left: 40px !important;
    height: 46px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    border: 1.5px solid var(--border-color) !important;
    background: var(--body-bg-color) !important;
    color: var(--text-heading) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
    width: 100%;
}

.auth-form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
    background: var(--assest-color) !important;
    outline: none !important;
}

.auth-form-control::placeholder {
    color: rgba(100, 116, 139, 0.55) !important;
    font-size: 13px !important;
}

/* Password toggle button */
.auth-pwd-toggle {
    position: absolute;
    right: 13px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    font-size: 13px;
    z-index: 3;
    line-height: 1;
    transition: color 0.15s;
}

.auth-pwd-toggle:hover {
    color: var(--primary-color);
}

.auth-pwd-toggle:focus,
.auth-pwd-toggle:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Submit button */
.auth-submit-btn {
    height: 48px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    letter-spacing: 0.1px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}

.auth-submit-btn:hover {
    background: #E65C00 !important;
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.32) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.auth-submit-btn:active {
    transform: translateY(0) !important;
}

/* ── DEMO PANEL ── */
/* .demo-panel {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
} */

.demo-panel__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.demo-panel__divider::before,
.demo-panel__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.demo-panel__desc {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.demo-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* .demo-panel__grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
} */

/* Role card */
.demo-role-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 11px;
    border: 1.5px solid var(--border-color);
    background: var(--assest-color);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
    text-decoration: none !important;
    color: inherit !important;
}

.demo-role-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
    transform: translateX(3px);
    color: inherit !important;
    text-decoration: none !important;
}

.demo-role-card--active,
.demo-role-card--active:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg);
}

.demo-role-card__icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.demo-role-card__icon-wrap--admin {
    background: rgba(255, 109, 0, 0.12);
    color: var(--primary-color);
}

.demo-role-card__icon-wrap--doctor {
    background: rgba(14, 165, 233, 0.12);
    color: #0EA5E9;
}

.demo-role-card__icon-wrap--drugstore {
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
}

.demo-role-card__icon-wrap--receptionist {
    background: rgba(168, 85, 247, 0.12);
    color: #A855F7;
}

.demo-role-card__info {
    flex: 1;
    min-width: 0;
}

.demo-role-card__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2px;
    line-height: 1;
}

.demo-role-card__email {
    font-size: 11px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-role-card__badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.demo-role-card__arrow {
    font-size: 11px;
    color: var(--text-secondary);
    transition: color 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.demo-role-card:hover .demo-role-card__arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .auth-right {
        min-height: 100vh;
        width: 100%;
        padding: 32px 16px;
    }

    .auth-card {
        max-width: 480px;
        padding: 28px 22px;
    }
}

@media (max-width: 575px) {
    .auth-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .auth-card__title {
        font-size: 20px;
    }

    .auth-left__headline {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .demo-panel__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        /* gap: 10px; */
    }
}

/* ============================================================
   AUTH LOGIN — Visual Enhancements (animations + divider)
   ============================================================ */

/* 1. App Name — premium font + fade/letter-spacing reveal */
@keyframes authAppNameReveal {
    from {
        opacity: 0;
        letter-spacing: 6px;
    }

    to {
        opacity: 1;
        letter-spacing: -0.3px;
    }
}

.auth-card__app-name {
    animation: authAppNameReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 2. Auth card — soft fade-up on load */
@keyframes authCardReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: authCardReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 3. Brand divider (icon between branding and form) */
.dl-brand-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 20px 0 24px;
    animation: dl-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
}

.dl-brand-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 109, 0, 0.35),
            transparent);
}

.dl-brand-divider-icon {
    color: rgba(255, 109, 0, 0.6);
    font-size: 19px;
}

.dl-form-box {
    width: 100%;
    max-width: 380px;
    animation: dl-fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.15s;
}

@keyframes dl-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Demo panel — cleaner visual separation */
.demo-panel {
    margin-top: 28px;
}

.demo-panel__divider {
    margin-bottom: 6px;
}

/* ===================================================
   DASHBOARD PREMIUM REDESIGN  (ds-* namespace)
   =================================================== */

/* Section spacing */
.ds-section {
    margin-bottom: 20px;
}

/* ── Stats Grid ────────────────────────────────────── */
.ds-stats-grid {
    display: grid;
    gap: 16px;
}

.ds-stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ds-stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Premium Stat Card ─────────────────────────────── */
.ds-stat-card {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 20px 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ds-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 12px 0 0 12px;
}

.ds-stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px var(--primary-bg);
    transform: translateY(-2px);
}

.ds-stat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    transition: background 0.2s ease;
}

.ds-stat-card:hover .ds-stat-card__icon {
    background: var(--primary-light);
}

.ds-stat-card__body {
    flex: 1;
    min-width: 0;
}

.ds-stat-card__value {
    font-size: 26px;
    font-weight: 700;
    color: var(--black-color);
    line-height: 1.1;
    margin: 0 0 4px;
}

.ds-stat-card__label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* ── Chart Card Container ──────────────────────────── */
.ds-chart-card {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.ds-chart-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.ds-chart-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--black-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-chart-card__title i {
    color: var(--primary-color);
}

.ds-chart-card__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ── Chart Filter Buttons ──────────────────────────── */
.ds-filter-btn {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.6;
}

.ds-filter-btn:hover {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.ds-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.ds-filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* ── View-all link inside chart header ─────────────── */
.ds-link-btn {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.ds-link-btn:hover {
    background: var(--primary-bg);
    color: var(--primary-color);
    text-decoration: none;
}

/* ── Canvas height wrapper (earningLineChart) ──────── */
.ds-chart-canvas-lg {
    height: 450px;
    position: relative;
}

/* ── Section heading (doctors row) ────────────────── */
.ds-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ds-section-header__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--black-color);
    margin: 0;
}

/* ── Speciality mosaic grid ────────────────────────── */
.ds-speciality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ds-speciality-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.ds-speciality-item img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    filter: blur(1px) brightness(0.62);
    display: block;
    border-radius: 8px;
}

.ds-speciality-item__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 6px;
    line-height: 1.3;
}

/* ── Premium Doctor Card ───────────────────────────── */
.ds-doctor-card {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.ds-doctor-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px var(--primary-bg);
    transform: translateY(-2px);
}

.ds-doctor-card__avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.ds-doctor-card__info {
    flex: 1;
    min-width: 0;
}

.ds-doctor-card__username {
    font-size: 13px;
    font-weight: 700;
    color: var(--black-color);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-doctor-card__fullname {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-doctor-card__badges {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1199px) {
    .ds-stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ds-stats-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {

    .ds-stats-grid-4,
    .ds-stats-grid-3 {
        grid-template-columns: 1fr;
    }

    .ds-stat-card__value {
        font-size: 22px;
    }

    .ds-chart-card {
        padding: 16px;
    }

    .ds-chart-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ds-doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ds-doctor-card__badges {
        justify-content: center;
    }
}

/* ===================================================
   TOP RATED DOCTOR — Portrait Card  (drd-* namespace)
   =================================================== */

/* Card shell */
.drd-card {
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 0px 20px;
    text-align: center;
    position: relative;
    height: 100%;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

/* Top accent bar */
.drd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.drd-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 28px var(--primary-bg);
    transform: translateY(-3px);
}

.drd-card:hover::before {
    opacity: 1;
}

/* ── Rank badge ──────────────────────────────────── */
.drd-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-bg);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    letter-spacing: 0.3px;
    line-height: 1;
}

.drd-rank--gold {
    background: #FEF3C7;
    color: #D97706;
}

.drd-rank--silver {
    background: #F1F5F9;
    color: #64748B;
}

.drd-rank--bronze {
    background: #FFF7ED;
    color: #C2410C;
}

/* ── Avatar ──────────────────────────────────────── */
.drd-avatar-link {
    display: block;
    margin: 0 auto 14px;
    width: fit-content;
}

.drd-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    display: block;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.drd-card:hover .drd-avatar {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-bg);
}

/* ── Name & handle ───────────────────────────────── */
.drd-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--black-color);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drd-username {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 0 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Star rating row ─────────────────────────────── */
.drd-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.drd-rating__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.drd-rating__star {
    font-size: 13px;
    color: #D1D5DB;
}

.drd-rating__star--filled {
    color: #F59E0B;
}

.drd-rating__star--half {
    color: #F59E0B;
}

.drd-rating__value {
    font-size: 13px;
    font-weight: 700;
    color: var(--black-color);
    line-height: 1;
}

/* ── Consultation fee chip ───────────────────────── */
.drd-fee {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-bg);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    transition: background 0.2s ease;
}

.drd-card:hover .drd-fee {
    background: var(--primary-light);
}

/* ── Empty state ─────────────────────────────────── */
.drd-empty {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 24px 0;
    margin: 0;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 575px) {
    .drd-card {
        padding: 20px 14px 16px;
    }

    .drd-avatar {
        width: 68px;
        height: 68px;
    }
}

/* ============================================================
   PROMOCODE MODULE
   ============================================================ */

/* Radio group row inside form */
.promo-radio-row {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 38px;
}

/* Promo code badge in table */
.promo-code-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 6px;
    padding: 4px 10px;
    letter-spacing: 0.04em;
}

/* Status select — base */
.promo-status-select {
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    padding: 5px 8px;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    border: 1.5px solid var(--border-color);
    background: transparent;
}

/* Status select — inactive (red) */
.promo-status-select.promo-status-inactive {
    background: rgba(220, 53, 69, 0.08);
    border-color: var(--danger);
    color: var(--danger);
}

/* Status select — active (green) */
.promo-status-select.promo-status-active {
    background: rgba(25, 135, 84, 0.08);
    border-color: var(--success);
    color: var(--success);
}

/* Status select — expired (warning) */
.promo-status-select.promo-status-expired {
    background: rgba(255, 193, 7, 0.12);
    border-color: var(--warning);
    color: #b08400;
}

/* Upload zone — full width inside modal column */
.spl-modal-body .spl-upload-zone {
    width: 100%;
}

/* ─── Package / Plans Module ──────────────────────────────────────────── */

/* Info pills container */
.pkg-info-pills {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

/* Individual metric pill */
.pkg-info-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    transition: background 0.15s ease;
}

.pkg-info-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

/* Icon */
.pkg-info-pill__icon {
    font-size: 12px;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

/* Label */
.pkg-info-pill__label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Value badge */
.pkg-info-pill__value {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-heading);
    background: var(--assest-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1px 8px;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* Price display in table and footer */
.pkg-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Transaction footer total label */
.txn-foot-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

/* ============================================================
   Reports Module — Chart Cards
   ============================================================ */

.rpt-chart-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 24px;
}

.rpt-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border-color);
}

.rpt-chart-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rpt-chart-title i {
    color: var(--primary-color);
}

.rpt-chart-area {
    height: 420px;
    padding: 16px 12px 12px;
}

.rpt-chart-area--lg {
    height: 520px;
}

.lq-token-box {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.lq-token-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    background: var(--primary-bg, #f8f9fa);
    border-radius: 8px;
    border: 1px solid var(--border-color, #dee2e6);
    min-width: 52px;
}

.lq-token-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.lq-token-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
}

.lq-token-stat--waiting .lq-token-value {
    color: var(--orange, #fd7e14);
}

.lq-token-stat--done .lq-token-value {
    color: var(--success, #198754);
}

.lq-token-stat--current .lq-token-value {
    color: var(--blue, #0d6efd);
}

.lq-doctor-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lq-doctor-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color, #dee2e6);
    flex-shrink: 0;
}

.lq-doctor-info {
    display: flex;
    flex-direction: column;
}

.lq-doctor-username {
    font-size: 12px;
    color: var(--text-secondary);
}

.lq-doctor-fullname {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
}

.lq-detail-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.lq-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lq-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
}

.lq-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

.lq-apt-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.lq-apt-id {
    font-size: 11px;
    color: var(--text-secondary);
}

.lq-apt-no {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
}

.lq-est-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.lq-est-time i {
    color: var(--primary, #007bff);
    font-size: 12px;
}

/* ─── Pharmacy / Drugstore Module ──────────────────────────────────────── */

/* Medicine availability status pills (product grid) */
.med-avail-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.med-avail-btn:hover {
    opacity: 0.85;
}

.med-avail-btn.is-available {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.med-avail-btn.is-unavailable {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.med-avail-btn a:focus,
.med-avail-btn a:active,
.med-avail-btn a:hover {
    outline: none !important;
    box-shadow: none !important;
}

/* for safety (some browsers apply on parent) */
.med-avail-btn:focus-within {
    outline: none;
    box-shadow: none;
}

/* Stock status pills (inventory table) */
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    /* font-size: 12px; */
    font-weight: 600;
    white-space: nowrap;
}

.stock-pill--in {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.stock-pill--out {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

/* Generate Order — two-column panel layout */
.pharm-order-panel {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    min-height: 320px;
}

.pharm-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

/* Each medicine select row (left panel) */
.pharm-select-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pharm-select-row .form-control {
    flex: 1;
}

/* Order summary item cards (right panel) */
.pharm-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 10px;
    background: var(--body-bg-color);
    transition: box-shadow 0.2s ease;
}

.pharm-item-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pharm-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.pharm-item-meta {
    flex: 1;
    min-width: 0;
}

.pharm-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pharm-item-price {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.pharm-item-qty {
    flex-shrink: 0;
    width: 90px;
}

.pharm-item-qty .form-control {
    text-align: center;
    font-weight: 600;
}

/* Empty state (no items selected) */
.pharm-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .pharm-order-panel {
        min-height: auto;
        margin-bottom: 16px;
    }

    .profile-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Orders Module ─────────────────────────────────────── */

/* Order number + Rx ID cell */
.ord-info-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ord-rx-id {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Is-assigned circle pill */
.ord-assign-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
}

.ord-assign-pill--yes {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.ord-assign-pill--no {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

/* Price breakdown mini-table */
.ord-price-breakdown {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ord-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
}

.ord-price-row>span:first-child {
    color: var(--text-secondary);
}

.ord-price-row>span:last-child {
    font-weight: 600;
}

.ord-price-total {
    border-top: 1px solid var(--border-color);
    padding-top: 4px;
    margin-top: 2px;
}

.ord-price-total>span:first-child {
    color: var(--text-heading);
    font-weight: 700;
}

/* Compact items list (list page) */
.ord-items-compact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 180px;
}

.ord-item-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ord-item-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.ord-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    flex: 1;
}

.ord-item-qty {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.ord-items-more {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1px 7px;
    background: var(--primary-bg);
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

/* Order summary — full-height inside its card */
.order-summary {
    max-width: 100%;
}

/* Default */
.sidebar-toggle {
    display: inline-flex !important;
    align-items: center;
}

.header-toggle {
    display: none !important;
}

/* Mobile */
@media (max-width: 991px) {

    .header-toggle {
        display: inline-flex !important;
    }

    .sidebar-toggle {
        display: none !important;
    }

    /* 🔥 Sidebar open → show sidebar toggle as close button */
    body.sidebar-open .sidebar-toggle {
        display: inline-flex !important;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 999;
    }
}

/* START: SEARCH & FILTER BAR */
.search-filter-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.search-input-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--primary-bg);
    border: 1.5px solid var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 4px 14px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 200px;
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    background: var(--white-color);
}

.search-input-group i {
    color: var(--text-secondary);
    margin-right: 8px;
    font-size: 14px;
    flex-shrink: 0;
}

.search-input-group .form-control {
    border: none;
    background: transparent;
    padding: 7px 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--text-secondary);
    height: auto !important;
    border-radius: 0;
}

.search-input-group .form-control:focus {
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.filter-select-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 4px 14px;
    min-width: 180px;
    border: 1.5px solid var(--primary-bg);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.filter-select-group:focus-within {
    border-color: var(--primary-color);
    background: var(--white-color);
}

.filter-select-group .filter-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.filter-select-group .form-control {
    border: none;
    background: transparent;
    padding: 7px 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--text-secondary);
    height: auto !important;
    cursor: pointer;
    border-radius: 0;
}

.filter-select-group .form-control:focus {
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.filter-select-group-select2 {
    min-width: 200px;
    padding: 1px 14px;
}

.filter-select-group-select2 .select2-container {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.filter-select-group-select2 .select2-container .select2-selection--single {
    border: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: auto !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.filter-select-group-select2 .select2-container .select2-selection__rendered {
    padding: 7px 24px 7px 0;
    line-height: 1.5;
    color: var(--text-secondary);
    font-size: 14px;
}

.filter-select-group-select2 .select2-container .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 0;
}

/* END: SEARCH & FILTER BAR  */

/* Installation */
.list-group-item {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background-color: transparent;
}

.install-bg-img {
    text-align: center;
}

.install-bg-img img {
    max-width: 100%;
    height: auto;
}

.install-title {
    font-size: 42px;
    font-weight: bold;
}

.install_sub_title {
    font-size: 24px;
}

.install_text {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.install-list li {
    font-size: 20px;
    margin-bottom: 10px;
}

.install-list li:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.install-card {
    margin-left: 100px;
    margin-right: 100px;
}

@media (max-width: 1024px) {
    .install-bg-img {
        display: none !important;
    }
}

.install-footer {
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--black-color);
    background: var(--primary-color);
}

.install-footer a {
    color: var(--white-color);
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

.install-footer a:hover {
    color: var(--black-color);
}

.install-social-icons {
    margin-top: 10px;
}

.install-social-icons a {
    color: var(--white-color);
    font-size: 20px;
    text-decoration: none;
}

.install-social-icons a:hover {
    color: var(--black-color);
}

.install-footer .content {
    position: relative;
    z-index: 1;
}

/* btn Install */
.btn-install {
    background: var(--primary-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}

.btn-install:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

/* btn Install Cancel */
.btn-install-cancel {
    background: var(--black-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}

.btn-install-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}