:root {
    --gr-deep: #0B1F3A;
    --gr-teal: #16A34A;
    --gr-mint: #E8F8EE;
    --gr-sand: #F4F7FB;
    --gr-gold: #F59E0B;
    --gr-ink: #0F2744;
    --theme-color: #0C6B63;
    --theme-color2: #083734;
    --theme-deafult: #0C6B63;
    --theme-secondary: #C4A35A;
    --primary: #0C6B63;
    --primary-hover: #083734;
    --primary-dark: #062826;
}

body {
    background-color: var(--gr-sand);
    color: var(--gr-ink);
}

.gr-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gr-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gr-teal);
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
}

.gr-name {
    display: flex;
    flex-direction: column;
    color: var(--gr-deep);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: 0.2px;
}

.gr-name span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gr-teal);
}

.gr-brand.is-light .gr-mark {
    background: #fff;
    color: var(--gr-deep);
}

.gr-brand.is-light .gr-name,
.gr-brand.is-light .gr-name span {
    color: #fff;
}

.th-header .header-top {
    background: var(--gr-deep) !important;
}

.th-header .header-top,
.th-header .header-top a,
.th-header .header-notice {
    color: #F4FBFA !important;
}

#main-wrapper .header-top {
    background: #31587e !important;
    color: #fff !important;
    box-shadow: none !important;
}

#main-wrapper .header-top .header-item,
#main-wrapper .header-top .new_c,
#main-wrapper .header-top .header-right,
#main-wrapper .header-top .header-item i,
#main-wrapper .header-top .mdi {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#main-wrapper .nav-header {
    background: #2a4c6e !important;
    border-bottom: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 7;
}

#main-wrapper .hamburger .line {
    background: #fff !important;
}

#main-wrapper .nav-header .brand-logo {
    width: auto !important;
    margin: 8px 12px 8px 14px !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible;
    align-items: center;
}

#main-wrapper .nav-header .brand-logo .gr-logo {
    width: auto !important;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 4px 6px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    #main-wrapper .nav-header {
        height: 118px;
    }
    #main-wrapper .nav-header .brand-logo {
        height: 102px !important;
    }
    #main-wrapper .nav-header .brand-logo .gr-logo {
        height: 72px !important;
        max-height: 72px !important;
        max-width: 230px !important;
    }
    #main-wrapper .header-top {
        min-height: 118px;
    }
    #main-wrapper .deznav {
        top: 118px !important;
        height: calc(100% - 118px) !important;
    }
    #main-wrapper .admin-content-body {
        padding-top: 118px !important;
    }
}

#main-wrapper .header-top .dropdown-menu {
    background: #fff !important;
    border: 1px solid #E6EDF5 !important;
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12) !important;
}

#main-wrapper .header-top .dropdown-menu .dropdown-item,
#main-wrapper .header-top .dropdown-menu .dropdown-item span,
#main-wrapper .header-top .dropdown-menu .dropdown-item i {
    color: #0B1F3A !important;
    background: transparent !important;
}

#main-wrapper .header-top .dropdown-menu .dropdown-item:hover,
#main-wrapper .header-top .dropdown-menu .dropdown-item:focus {
    background: #F4F7FB !important;
    color: #0B1F3A !important;
}

.header-layout1 .menu-area,
.sticky-wrapper .menu-area {
    background: #fff;
    border-bottom: 1px solid #D7E8E4;
}

.main-menu > ul > li > a,
.th-mobile-menu a {
    color: var(--gr-ink) !important;
}

.th-btn,
.th-btn.style4,
.th-btn.style5 {
    background: var(--gr-teal) !important;
    color: #fff !important;
    border: 0;
}

.th-btn:hover,
.th-btn.style4:hover,
.th-btn.style5:hover {
    background: var(--gr-deep) !important;
    color: #fff !important;
}

.footer-wrapper,
.footer-layout1 {
    background-color: var(--gr-deep) !important;
}

.footer-wrapper,
.footer-wrapper a,
.footer-wrapper p,
.widget_title {
    color: #F4FBFA;
}

.sec-title,
.sub-title {
    color: var(--gr-deep);
}

.footer-wrapper h2,
.footer-wrapper h3,
.footer-wrapper .widget_title,
.footer-wrapper .about-text,
.footer-wrapper .info-box_text,
.footer-wrapper .copyright-text,
.footer-wrapper a {
    color: #F4FBFA !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper,
.sidebar-wrapper {
    background: var(--gr-deep) !important;
}

.sidebar-wrapper .sidebar-link,
.sidebar-wrapper .sidebar-title,
.sidebar-wrapper .sidebar-link span,
.sidebar-wrapper .sidebar-link svg,
.sidebar-wrapper i {
    color: #E7F6F4 !important;
}

.sidebar-wrapper .sidebar-link.active,
.sidebar-wrapper .sidebar-link:hover,
.sidebar-submenu {
    background: rgba(255, 255, 255, 0.08) !important;
}

.page-body,
.page-body-wrapper {
    background: var(--gr-sand) !important;
}

.page-header,
.header-wrapper {
    background: #fff !important;
}

.btn-primary,
.th-btn.btn-fw {
    background: var(--gr-teal) !important;
    border-color: var(--gr-teal) !important;
    color: #fff !important;
}

.login-card,
.login-main {
    background: #fff;
}

.login-card {
    border-top: 4px solid var(--gr-teal);
    box-shadow: 0 16px 40px rgba(8, 55, 52, 0.12);
}

body[data-theme-version="light"],
body[data-theme-version="dark"] {
    background: var(--gr-sand);
}

.deznav,
.deznav .deznav-scroll,
[data-theme-version="dark"] .deznav,
[data-theme-version="dark"] .deznav .deznav-scroll {
    background: var(--gr-deep) !important;
}

.deznav a,
.deznav .metismenu > li > a,
.deznav .nav-text {
    color: #E7F6F4 !important;
}

.header,
.nav-header {
    background: #0B1F3A !important;
}

.nav-header .gr-name,
.nav-header .gr-name span {
    color: var(--gr-deep);
}

.nav-header .gr-name span {
    color: var(--gr-teal);
}

.gr-logo {
    height: 76px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-logo {
    padding-top: 8px;
    padding-bottom: 8px;
}

.header-logo a img.gr-logo,
.mobile-logo a img.gr-logo {
    width: auto !important;
    height: 62px !important;
    max-width: 240px !important;
    max-height: 62px !important;
    object-fit: contain;
}

.gr-logo-light {
    height: auto;
    width: auto;
    max-width: 168px;
    max-height: 156px;
    display: block;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 8px 10px;
    box-sizing: border-box;
    margin: 0 auto;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper,
.sidebar-wrapper {
    background: #0B1F3A !important;
}

.sidebar-wrapper .logo-wrapper {
    padding: 12px 16px 8px !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    overflow: visible;
}

.sidebar-wrapper .simplebar-mask {
    top: 164px !important;
}

.sidebar-wrapper .simplebar-mask {
    height: calc(100% - 164px) !important;
}

.sidebar-wrapper .logo-wrapper a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sidebar-wrapper .logo-wrapper img.gr-logo-light {
    width: auto !important;
    height: auto !important;
    max-width: 156px !important;
    max-height: 144px !important;
    object-fit: contain;
}

.sidebar-wrapper .sidebar-main .sidebar-links {
    padding: 8px;
}

.sidebar-wrapper .sidebar-link {
    border-radius: 10px;
    margin: 2px 0;
    color: #D5E2F2 !important;
}

.sidebar-wrapper .sidebar-link span,
.sidebar-wrapper .sidebar-link svg,
.sidebar-wrapper .sidebar-title span {
    color: #D5E2F2 !important;
}

.sidebar-wrapper .sidebar-link.active,
.sidebar-wrapper .sidebar-list.active > .sidebar-link,
.sidebar-wrapper .sidebar-link:hover {
    background: rgba(22, 163, 74, 0.18) !important;
    box-shadow: inset 3px 0 0 #22C55E;
}

.sidebar-submenu {
    background: transparent !important;
}

.sidebar-submenu a {
    color: #C5D4E8 !important;
}

.page-header .header-wrapper .nav-right > ul > li {
    width: auto !important;
    height: auto !important;
}

.sidebar-wrapper .logo-wrapper .toggle-sidebar,
.sidebar-wrapper .logo-wrapper .back-btn {
    display: none !important;
}

.page-header,
.page-header .header-wrapper {
    background: #fff !important;
    box-shadow: 0 1px 0 #E6EDF5 !important;
}

.gr-top-title {
    font-size: 18px;
    font-weight: 700;
    color: #0B1F3A;
    line-height: 1.15;
}

.gr-top-sub {
    font-size: 12px;
    color: #6B7C93;
}

.gr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
}

.gr-btn-green { background: #16A34A; }
.gr-btn-gold { background: #F59E0B; }
.gr-btn-green:hover { background: #15803D; color: #fff !important; }
.gr-btn-gold:hover { background: #D97706; color: #fff !important; }

.gr-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F3F6FB;
    color: #0B1F3A !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gr-userchip {
    background: #F4F7FB;
    border-radius: 12px;
    padding: 6px 12px;
    line-height: 1.2;
}

.gr-userchip strong { display: block; color: #0B1F3A; font-size: 13px; }
.gr-userchip span { color: #16A34A; font-size: 11px; font-weight: 700; }

.gr-dash { padding: 12px 8px 28px; }
.gr-dash .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}
.gr-dash .row > [class*="col-"] {
    padding: 10px !important;
}
.gr-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.06);
    padding: 18px 18px;
    height: auto;
    margin: 0;
}
.gr-dash .gr-card + .gr-card {
    margin-top: 20px;
}
.gr-stat { display: flex; align-items: center; gap: 14px; }
.gr-stat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex: 0 0 48px;
}
.gr-stat h3 { margin: 0; font-size: 26px; font-weight: 800; color: #0B1F3A; }
.gr-stat p { margin: 0; color: #6B7C93; font-size: 13px; font-weight: 600; }
.gr-stat small { color: #16A34A; font-weight: 700; }
.bg-blue { background: #E8F1FF; color: #2563EB; }
.bg-mint { background: #E7F8EE; color: #16A34A; }
.bg-amber { background: #FFF4DE; color: #D97706; }
.bg-rose { background: #FDECEC; color: #E11D48; }
.gr-card h4 { font-size: 16px; font-weight: 800; color: #0B1F3A; margin: 0 0 12px; }
.gr-card h4 a { float: right; font-size: 12px; font-weight: 700; color: #16A34A; }
.gr-team { display: flex; justify-content: space-around; text-align: center; }
.gr-bubble {
    width: 74px; height: 74px; border-radius: 50%;
    background: #E7F8EE; color: #16A34A;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px; font-size: 22px;
}
.gr-table { width: 100%; font-size: 13px; }
.gr-table th { color: #6B7C93; font-weight: 700; padding: 8px 6px; border-bottom: 1px solid #EEF2F7; }
.gr-table td { padding: 8px 6px; color: #0F2744; border-bottom: 1px solid #F4F7FB; }
.gr-pill { border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; display: inline-block; }
.gr-pill.complete { background: #E7F8EE; color: #15803D; }
.gr-pill.pending { background: #FFF4DE; color: #C2410C; }
.gr-pill.upcoming { background: #E8F1FF; color: #1D4ED8; }
.gr-pill.paid { background: #E7F8EE; color: #15803D; }
.gr-pill.closed { background: #F1F5F9; color: #64748B; }
.gr-pill.deduct { background: #FFF4DE; color: #C2410C; }
.gr-progress { height: 8px; background: #E8EEF6; border-radius: 99px; overflow: hidden; }
.gr-progress span { display: block; height: 100%; background: #16A34A; }
.gr-links a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #F1F5F9; color: #0F2744; font-weight: 600; text-decoration: none; }
.gr-links a:hover { color: #16A34A; }
.gr-wallet-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #E8EEF6; font-size: 13px; }
.gr-wallet-row span { color: #6B7C93; }
.gr-wallet-row strong { color: #0B1F3A; }
.page-wrapper .page-header .header-wrapper .nav-right > ul > li:first-child {
    display: flex !important;
    width: auto !important;
}

@media (max-width: 1199px) {
    .page-wrapper,
    .page-body-wrapper,
    .main-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    .page-wrapper.compact-wrapper .page-header,
    .page-wrapper.compact-wrapper .page-body-wrapper .page-body,
    .page-wrapper.compact-wrapper .page-body-wrapper .footer {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
    .page-wrapper.compact-wrapper .page-body-wrapper .page-body {
        margin-top: 72px !important;
        padding: 8px 12px 24px !important;
        overflow-x: auto;
        box-sizing: border-box;
    }
    .page-header .header-wrapper {
        padding: 8px 10px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    .page-header .header-wrapper > .col {
        min-width: 0;
        flex: 1 1 auto;
        padding-right: 8px;
    }
    .page-header .header-wrapper .nav-right {
        flex: 0 0 auto !important;
        max-width: none !important;
        width: auto !important;
    }
    .page-header .header-wrapper .nav-right > ul {
        position: static !important;
        top: auto !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }
    .gr-top-title {
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .gr-top-sub,
    .gr-userchip span {
        display: none;
    }
    .sidebar-wrapper .logo-wrapper .back-btn {
        display: flex !important;
        color: #fff;
    }
    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
        z-index: 40;
        width: 280px;
    }
    .page-header .onhover-show-div.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        background: #fff;
        z-index: 50;
    }
    .page-header .profile-dropdown.onhover-show-div {
        width: 190px !important;
        right: 0 !important;
        left: auto !important;
    }
    .page-body .table-responsive,
    .page-body .dataTables_wrapper {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .page-body .card,
    .page-body .container-fluid,
    .page-body .page-title .row {
        max-width: 100%;
        min-width: 0;
    }
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        text-align: left !important;
        margin: 6px 0;
    }
    .page-title-box,
    .page-title .row {
        flex-wrap: wrap;
    }
    .page-title .breadcrumb {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 6px;
    }
}

@media (max-width: 991px) {
    .gr-btn span { display: none; }
}

@media (max-width: 640px) {
    .page-header .header-wrapper {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 8px;
        row-gap: 8px;
    }
    .page-header .header-wrapper > .nav-right {
        grid-column: 1 / -1;
        justify-self: start;
    }
    .page-wrapper.compact-wrapper .page-body-wrapper .page-body {
        margin-top: 116px !important;
    }
    .page-header .header-wrapper .nav-right > ul > li {
        padding: 0 !important;
        margin: 0 !important;
    }
    .gr-userchip { padding: 6px 8px; }
    .gr-userchip strong { font-size: 12px; }
}

@media (max-width: 767px) {
    .gr-card { overflow-x: auto; }
    .gr-stat h3 { font-size: 20px; }
    .gr-bubble { width: 56px; height: 56px; font-size: 16px; }
    .gr-btn { padding: 8px 10px; }
    .gr-top-title { font-size: 15px; }
    .gr-card h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
    .gr-card h4 a { float: none; }
    .gr-team { gap: 8px; flex-wrap: wrap; }
    .page-body .card-body { padding: 14px; }
    .page-body .form-control,
    .page-body .form-select,
    .page-body select.form-control {
        max-width: 100%;
    }
    .mytooltip .Herb-Tree-tooip-text {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
    }
    .page-body .Herb-Tree {
        width: 790px;
        max-width: none;
    }
    .hud-toast-wrapper {
        left: 12px;
        right: 12px;
        top: 76px;
        width: auto;
    }
}

.gr-auth-page {
    background: #F4F7FB;
    padding: 36px 16px 72px;
    position: relative;
    z-index: 3;
    margin-top: 150px;
}

.gr-hold {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F7FB;
    padding: 48px 16px 72px;
}

.gr-hold-card {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 20px;
    border-top: 4px solid #16A34A;
    box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
    text-align: center;
    padding: 42px 28px 36px;
}

.gr-hold-card h1 {
    margin: 16px 0 8px;
    color: #0B1F3A;
    font-size: 32px;
    font-weight: 800;
}

.gr-hold-card p {
    color: #64748B;
    margin-bottom: 22px;
}

.gr-hold-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gr-hold-links .th-btn {
    min-width: 140px;
}

.gr-hold-signup {
    background: #F59E0B !important;
}

.gr-hold-signup:hover {
    background: #D97706 !important;
}

.gr-slim-footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-image: none !important;
}

.gr-slim-footer .copyright-wrap {
    padding: 16px 0;
}

.gr-auth-card {
    width: min(440px, 100%);
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    border-top: 4px solid #16A34A;
    box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
    padding: 32px 28px 24px;
}

.gr-auth-card.is-wide {
    width: min(980px, 100%);
}

.gr-auth-card.is-success {
    width: min(560px, 100%);
}

.gr-success-box {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 14px;
    padding: 16px 16px 8px;
    text-align: left;
}

.gr-success-box h5,
.gr-success-box p {
    text-align: center;
    color: #0B1F3A;
}

.gr-success-box p {
    color: #475569;
    margin-bottom: 12px;
}

.gr-success-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #DCFCE7;
    color: #0B1F3A;
}

.gr-success-row:last-of-type {
    border-bottom: 0;
}

.gr-success-row .btn-copy {
    border: 1px solid #16A34A;
    background: #fff;
    color: #16A34A;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.gr-auth-card .login-card,
.gr-auth-card .login-main {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

img.gr-auth-logo,
.gr-hold-card img.gr-auth-logo,
.gr-auth-card img.gr-auth-logo {
    display: inline-block;
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 186px !important;
    object-fit: contain;
}

.gr-auth-card h4,
.gr-auth-card .form-title {
    color: #f9d301;
    font-weight: 800;
    margin: 8px 0 4px;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 67%);
}

.gr-auth-card .form-group,
.gr-auth-card .mb-3 {
    margin-bottom: 14px;
}

.gr-auth-card label {
    color: #0F2744 !important;
    font-size: 13px !important;
    font-weight: 700;
    margin: 0 0 6px !important;
}

.gr-auth-card label.error {
    color: #dc3545 !important;
    font-size: 12px !important;
    font-weight: 600;
    display: block;
    margin-top: 4px !important;
}

.gr-auth-card .form-control,
.gr-auth-card select,
.gr-auth-card textarea {
    height: 46px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    background: #F8FAFC !important;
    color: #0F2744 !important;
    padding: 0 14px !important;
    box-shadow: none !important;
}

.gr-auth-card textarea.form-control {
    height: auto !important;
    padding: 10px 14px !important;
}

.gr-auth-card .form-control:focus,
.gr-auth-card select:focus {
    border-color: #16A34A !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
}

.gr-auth-card .th-btn,
.gr-auth-card #save_btn {
    width: 100%;
    min-height: 48px;
    border: 0 !important;
    border-radius: 10px !important;
    background: #16A34A !important;
    color: #fff !important;
    font-weight: 700;
}

.gr-auth-card .th-btn:hover,
.gr-auth-card #save_btn:hover {
    background: #15803D !important;
}

.gr-auth-card a,
.gr-auth-card .text-primary {
    color: #16A34A !important;
}

.gr-auth-card .auth-pass-inputgroup .password-input {
    padding-right: 44px !important;
}

.gr-auth-card .password-addon {
    top: 8px !important;
    right: 8px;
    height: 30px;
    width: 32px;
    z-index: 6;
    color: #0F2744 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-auth-card .password-addon i {
    font-size: 16px;
    line-height: 1;
}

.admin-content-body .admin-card,
[data-theme-version="dark"] .admin-content-body .admin-card,
[data-theme-version="light"] .admin-content-body .admin-card {
    background: #fff !important;
    color: #0B1F3A !important;
    border: 1px solid #E6EDF5 !important;
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.admin-content-body .admin-card-header,
.admin-content-body .admin-card .card-title,
.admin-content-body .admin-card label,
.admin-content-body .admin-card .control-label,
.admin-content-body .panel,
.admin-content-body .panel-body,
.admin-content-body .panel-heading {
    background: transparent !important;
    color: #0B1F3A !important;
}

.admin-content-body .admin-form-control,
.admin-content-body .admin-form-select,
.admin-content-body .admin-table .dataTables_filter .admin-form-control,
.admin-content-body .admin-table select.admin-form-control-sm,
.admin-content-body select.admin-form-control:focus {
    background: #fff !important;
    color: #1F2A37 !important;
    border: 1px solid #D5DEEA !important;
    border-radius: 8px !important;
    color-scheme: light;
}

.admin-content-body .admin-form-control::placeholder,
.admin-content-body .admin-form-control::-webkit-input-placeholder {
    color: #8A97A8 !important;
}

.admin-content-body .admin-table,
.admin-content-body .dataTables_wrapper,
.admin-content-body .admin-table table.dataTable tbody tr,
.admin-content-body .admin-table table.dataTable tbody tr td {
    background: #fff !important;
    color: #1F2A37 !important;
}

@media (max-width: 991px) {
    #main-wrapper {
        overflow-x: hidden;
    }
    #main-wrapper .nav-header {
        position: fixed;
        left: 0;
        top: 0;
        width: auto;
        height: 64px;
        display: flex;
        align-items: center;
        z-index: 1002;
        background: #0B1F3A !important;
        border: 0;
        box-shadow: none;
    }
    #main-wrapper .nav-header .brand-logo {
        width: auto !important;
        height: auto;
        margin: 0 0 0 12px !important;
        padding: 0 !important;
        background: transparent !important;
    }
    #main-wrapper .nav-header .brand-logo .gr-logo {
        height: 56px;
        width: auto;
    }
    #main-wrapper .nav-header .brand-logo img:not(.gr-logo) {
        display: none !important;
    }
    #main-wrapper .nav-control {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        transform: none !important;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        z-index: 1003;
    }
    #main-wrapper .hamburger {
        position: static;
        left: auto;
        top: auto;
        width: 18px;
    }
    #main-wrapper .hamburger .line {
        margin: 4px 0;
        background: #fff !important;
    }
    #main-wrapper .header-top {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        z-index: 1001;
    }
    #main-wrapper .header-top .header-content {
        height: 64px;
        padding: 0 60px 0 168px;
    }
    #main-wrapper .header-top .admin-navbar,
    #main-wrapper .header-top .navbar-collapse {
        height: 64px;
    }
    #main-wrapper .header-right {
        margin-left: auto;
    }
    #main-wrapper .header-profile-user {
        width: 34px;
        height: 34px;
    }
    #main-wrapper .header-top .dropdown-menu {
        right: 8px !important;
        left: auto !important;
        min-width: 180px;
        max-width: calc(100vw - 16px);
    }
    #main-wrapper .admin-content-body,
    [data-sidebar-style="full"][data-layout="vertical"] #main-wrapper.menu-toggle .admin-content-body,
    [data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .admin-content-body {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 76px !important;
    }
    #main-wrapper .admin-content-body .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    #main-wrapper .page-title-box h4 {
        font-size: 16px;
        line-height: 1.35;
        white-space: normal;
    }
    #main-wrapper .deznav,
    [data-sidebar-style="full"][data-layout="vertical"] #main-wrapper.menu-toggle .deznav,
    [data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .deznav {
        position: fixed !important;
        top: 64px !important;
        left: -110% !important;
        width: min(300px, 88vw) !important;
        height: calc(100% - 64px) !important;
        margin: 0 !important;
        overflow: hidden !important;
        visibility: hidden;
        z-index: 1004;
        background: #0B1F3A !important;
    }
    #main-wrapper.menu-toggle .deznav,
    [data-sidebar-style="full"][data-layout="vertical"] #main-wrapper.menu-toggle .deznav {
        left: 0 !important;
        visibility: visible;
    }
    #main-wrapper .deznav .deznav-scroll,
    #main-wrapper.menu-toggle .deznav .deznav-scroll {
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    #main-wrapper.menu-toggle .deznav .metismenu li > ul,
    [data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .deznav .metismenu li > ul {
        position: static !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 4px 0 8px !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    #main-wrapper.menu-toggle .deznav .metismenu li > ul:after {
        content: none !important;
    }
    #main-wrapper .deznav #sidebar-menu ul ul a,
    #main-wrapper.menu-toggle .deznav .metismenu ul a {
        color: #E7F6F4 !important;
        background: transparent !important;
    }
    #main-wrapper .hamburger.is-active .line {
        width: 18px !important;
        height: 2px !important;
    }
    #main-wrapper .hamburger.is-active .line:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }
    #main-wrapper .hamburger.is-active .line:nth-child(2) {
        opacity: 0;
    }
    #main-wrapper .hamburger.is-active .line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }
    #main-wrapper .deznav .metismenu span,
    #main-wrapper.menu-toggle .deznav .nav-text {
        display: inline !important;
    }
    #sidebar-menu > ul > li > a {
        height: auto !important;
        min-height: 40px;
        white-space: normal;
    }
    #main-wrapper .table-responsive,
    #main-wrapper .dataTables_wrapper,
    #main-wrapper .admin-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #main-wrapper .dataTables_wrapper .dataTables_length,
    #main-wrapper .dataTables_wrapper .dataTables_filter,
    #main-wrapper .dataTables_wrapper .dataTables_info,
    #main-wrapper .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        text-align: left !important;
        width: 100%;
    }
    #main-wrapper .card.mini-stats-wid {
        margin-bottom: 12px;
    }
}

.gr-report { color: #0f172a; }
.gr-report .gr-report-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.gr-report .gr-report-head h4 { margin: 0; color: #0B1F3A; font-weight: 700; }
.gr-report .gr-report-head p { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.gr-report .gr-report-card { border: 0; border-radius: 18px; box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06); overflow: hidden; background: #fff; }
.gr-report .gr-report-filters { background: #f8fafc; border: 1px solid #e8eef5; border-radius: 14px; padding: 14px 14px 6px; margin-bottom: 16px; }
.gr-report .gr-report-filters label { font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 4px; display: block; }
.gr-report .gr-report-filters .form-control { border-radius: 10px; border-color: #e2e8f0; height: 40px; }
.gr-report .gr-search { background: #16A34A; border: 0; border-radius: 10px; color: #fff; font-weight: 700; height: 40px; padding: 0 16px; }
.gr-report .gr-reset { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; color: #0B1F3A; font-weight: 700; height: 40px; padding: 0 16px; margin-left: 6px; }
.gr-report .gr-total { display: inline-flex; align-items: center; gap: 8px; background: #f0fdf4; color: #166534; border-radius: 12px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
.gr-report table thead th,
.gr-report table.dataTable thead th {
    background: #0B1F3A !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border: 0 !important;
    padding: 12px 10px !important;
    white-space: nowrap;
}
.gr-report table tbody td { padding: 12px 10px !important; border-color: #eef2f7 !important; vertical-align: middle; color: #0f172a; font-size: 13px; }
.gr-report table tbody tr:hover td { background: #f8fafc; }
.gr-report .dataTables_wrapper .dataTables_length,
.gr-report .dataTables_wrapper .dataTables_filter,
.gr-report .dataTables_wrapper .dataTables_info,
.gr-report .dataTables_wrapper .dataTables_paginate { margin-top: 10px; }
@media (max-width: 767px) {
    .gr-report .gr-report-head { flex-direction: column; align-items: flex-start; }
}
.header-3 .header-right-icon {
    margin-right: 10px;
}
.header-3 .header-right-icon .cart-icon,
.header-section-3 .header-3 .header-right-icon .cart-icon,
.sticky.header-3 .header-right-icon .cart-icon {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #0C6B63;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 16px !important;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(12, 107, 99, .25);
}
.header-3 .header-right-icon .cart-icon i,
.header-3 .header-right-icon .cart-icon svg {
    color: #fff !important;
    font-size: 16px;
    line-height: 1;
    display: block;
}
.header-3 .header-right-icon .cart-icon span,
.header-section-3 .header-3 .header-right-icon .cart-icon span,
.sticky.header-3 .header-right-icon .cart-icon span {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    bottom: auto !important;
    width: 18px;
    height: 18px;
    line-height: 18px !important;
    border-radius: 50%;
    background: #F59E0B !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gr-terms-check { display: flex; align-items: flex-start; gap: 8px; }
.gr-terms-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: #0C6B63; cursor: pointer; flex: 0 0 18px; }
.gr-terms-check label { margin: 0; cursor: pointer; font-weight: 600; color: #0F2744; }
.gr-terms-check a { color: #0C6B63; font-weight: 700; text-decoration: underline; }
.gr-terms-modal { position: fixed !important; inset: 0 !important; z-index: 1000050 !important; display: none !important; align-items: center !important; justify-content: center !important; padding: 16px !important; background: rgba(8, 55, 52, .58) !important; }
.gr-terms-modal.is-open { display: flex !important; }
.gr-terms-card { width: min(760px, 100%); max-height: min(86vh, 820px); background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(11, 31, 58, .28); animation: grTermsIn .28s ease; }
.gr-terms-head { background: linear-gradient(125deg, #083734, #0C6B63 60%, #16A34A); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gr-terms-head h5 { margin: 0; color: #fff; font-weight: 800; font-size: 18px; }
.gr-terms-head button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; }
.gr-terms-body { padding: 18px 20px; overflow-y: auto; color: #0F2744; font-size: 14px; line-height: 1.55; }
.gr-terms-body h6 { margin: 16px 0 6px; font-weight: 800; color: #0C6B63; }
.gr-terms-body h6:first-child { margin-top: 0; }
.gr-terms-body p, .gr-terms-body li { color: #334155; }
.gr-terms-body ul { padding-left: 18px; margin: 0 0 8px; }
.gr-terms-foot { padding: 14px 20px; border-top: 1px solid #E8EEF5; display: flex; justify-content: flex-end; gap: 10px; background: #F8FAFC; }
.gr-terms-foot .btn { min-height: 42px; border-radius: 10px; font-weight: 700; padding: 8px 18px; }
@keyframes grTermsIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 1399px) {
    .gr-auth-body .header-section-3 {
        position: relative;
        z-index: 99999;
    }
    .gr-auth-body .header-section-3 .header-top-3 {
        display: none !important;
    }
    .gr-auth-body .header-section-3 .header-wrapper3 {
        margin: 0 !important;
    }
    .gr-auth-body .header-section-3 .header-3,
    .gr-auth-body .sticky.header-3 {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999;
        background: #fff !important;
        box-shadow: 0 8px 24px rgba(11, 31, 58, .08);
        padding: 8px 16px !important;
    }
    .gr-auth-body .header-section-3 .header-3 .header-main {
        padding: 4px 0 !important;
        min-height: 56px;
        max-height: 64px;
        align-items: center;
        justify-content: space-between;
    }
    .gr-auth-body .header-section-3 .header-3 .mean__menu-wrapper,
    .gr-auth-body .header-section-3 .header-3 .header-left .main-menu {
        display: none !important;
    }
    .gr-auth-body .header-section-3 .header-3 .header-left .head-logo {
        background-color: #fff !important;
        height: auto !important;
        line-height: 1 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    .gr-auth-body .header-section-3 .header-3 .pxl-icon-item,
    .gr-auth-body .header-section-3 .header-3 .pxl-icon-item2 {
        display: none !important;
    }
    .gr-auth-body .header-section-3 .header-3 .header-logo {
        display: none !important;
    }
    .gr-auth-body .header-section-3 .header-3 .header-logo2 {
        display: block !important;
    }
    .gr-auth-body .header-section-3 .header-3 .header-logo2 img,
    .gr-auth-body .header-section-3 .header-3 .head-logo img {
        max-height: 44px;
        width: auto;
    }
    .gr-auth-body .header-section-3 .sidebar__toggle .header-bar span,
    .gr-auth-body .header-section-3 .header-3 .sidebar__toggle .header-bar span,
    .gr-auth-body .sticky.header-3 .sidebar__toggle .header-bar span,
    .gr-auth-body .sticky.header-3 .sidebar__toggle .header-bar span:first-child,
    .gr-auth-body .sticky.header-3 .sidebar__toggle .header-bar span:nth-child(2),
    .gr-auth-body .sticky.header-3 .sidebar__toggle .header-bar span:last-child {
        background: #0B1F3A !important;
    }
    .gr-auth-body .gr-auth-page {
        margin-top: 72px;
        padding-top: 12px;
    }
}
