.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}

.custom-card {
    border: 1px solid #ced4da;
}

.customizer-action svg {
    width: 23px !important;
    color: #ffffff !important;
}

.active-mode {
    border: solid 2px #000000 !important;
}

.property-img {
    max-width: 507px;
    max-height: 286px;
}

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

.custom .media {
    padding: 10px !important;
}

.user-avatar {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}

.blgcomment-list li .media img {
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}

.codex-sidebar .logo-gridwrap {
    padding: 0px 16px !important;
}

.setting-logo {
    width: 300px !important;
    ;
}

.landing-logo {
    max-width: 225px;

}

.auth-main .auth-wrapper.v2 .logo {
    max-width: 300px;

}

.b-brand .logo {
    max-width: 212px !important;

}

.lan-footer .codex-brand {
    margin-block-end: 0px !important;
}

.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}

.invoice-logo {
    width: 250px;
}

.codex-calendar .events-list li {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}

.codex-calendar .events-list {
    overflow: auto;
    height: 863px;
}

.landing_logo {
    filter: drop-shadow(2px 3px 7px #011C4B);
}

.head-invoice img {
    width: 250px;
}

.cdx-invoice .body-invoice .table tr td {
    padding: 10px 10px !important;
}


.codex-brand img {
    width: 300px;
}

.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}

.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}

.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length {
    padding-left: 7px !important;
}

.dt-search {
    padding-right: 7px !important;
}

.dt-info {
    padding-left: 7px !important;
}

.dt-paging {
    padding-right: 7px !important;
}

.dt-buttons {
    padding-left: 7px !important;
    float: left;
}

.dt-container {
    margin-top: 10px;
}

.dt-info {
    float: left;
}

.dt-paging {
    float: right;
    padding-top: .85em;
}

.form-group {
    margin-bottom: 15px;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.2em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 0.9em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    font-size: 0.8em !important;
}

div:where(.swal2-icon) {
    width: 4em !important;
    height: 4em !important;
}

.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.testaments-cards::after {
    background: transparent !important;
}

.pricingpricing .price-card .product-list li::before {
    content: '\eb55';
    color: red;
}

.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}

.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active {
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

form label {
    text-transform: capitalize;
}


@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}
.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection-- {
    border: 1px solid #e5e5e5;
}

.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

.modal-backdrop~.select2-container {
    width: 100% !important;
    z-index: 10000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    line-height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
}

.select2-container,
.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 10px;
    margin-left: 10px;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.select2-results__option--selectable {
    background-color: rgba(var(--bs-secondary-rgb), 1);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(var(--bs-secondary-rgb), 1);
    color: var(--bs-secondary-light);

}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--bs-secondary-light);
    background-color: rgba(var(--bs-secondary-rgb), 1);
    border: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
 background-color: rgba(var(--bs-secondary-rgb), 1);
    color: #fff;
}

.fc-event {
    background-color: rgba(var(--bs-secondary-rgb), 0.2);
    color: var(--bs-secondary);
    border-radius: 2px;
    border: none;
    cursor: move;
    font-size: 0.8125rem;
    margin: 5px 7px;
    padding: 5px 5px;
    text-align: center;
}

/* Mobile Responsiveness Tweaks */
@media only screen and (max-width: 767px) {
    .pc-container {
        padding: 15px 10px !important;
    }
    
    .pc-content {
        padding: 10px !important;
    }

    .card-body {
        padding: 15px !important;
    }

    .avtar {
        width: 40px !important;
        height: 40px !important;
    }

    .avtar i {
        font-size: 18px !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    .page-header-title h5 {
        font-size: 1rem !important;
    }

    .breadcrumb {
        display: none !important;
    }

    /* Table adjustments */
    .table-responsive {
        border: 0;
    }

    .badge {
        font-size: 0.7rem !important;
        padding: 0.3em 0.5em !important;
    }

    /* Fix for order notification alerts */
    .alert {
        padding: 10px !important;
    }
    
    .alert .fz-md {
        font-size: 0.8rem !important;
    }

    .alert .btn-sm {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        width: 100%;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 575px) {
    .col-12 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .card {
        margin-bottom: 10px !important;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════════
   DarziDesk Sidebar Redesign - Clean Minimal Style (Matching Flutter App)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Import Google Fonts for sidebar */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

/* ── Sidebar Container ── */
.pc-sidebar {
    background: #FFFFFF !important;
    border-right: 1px solid #F0F1F3 !important;
    box-shadow: none !important;
    width: 260px !important;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pc-sidebar .navbar-wrapper {
    background: #FFFFFF !important;
}

.pc-sidebar .navbar-content {
    background: #FFFFFF !important;
    padding: 12px 0 !important;
}

/* ── Logo area ── */
.pc-sidebar .m-header {
    padding: 22px 24px 18px !important;
    border-bottom: none !important;
    background: #FFFFFF !important;
    height: auto !important;
}

.pc-sidebar .m-header .b-brand {
    display: flex;
    align-items: center;
}

.pc-sidebar .m-header .logo-lg {
    max-width: 150px !important;
    height: auto !important;
    transition: opacity 0.2s ease !important;
}

/* ── Hide Section Caption Headers ── */
.pc-sidebar .pc-navbar > .pc-item.pc-caption {
    display: none !important;
}

/* ── Menu Items - Exact match to reference ── */
.pc-sidebar .pc-navbar {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 10px 0 !important;
}

.pc-sidebar .pc-navbar > .pc-item {
    margin: 3px 12px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    position: relative !important;
    overflow: hidden !important;
}

.pc-sidebar .pc-navbar > .pc-item > .pc-link {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #2D2D2D !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    position: relative !important;
    border: none !important;
    background: transparent !important;
    min-height: 48px !important;
    line-height: 1.2 !important;
}

.pc-sidebar .pc-navbar > .pc-item > .pc-link:hover {
    background: #F0F9F8 !important;
    color: #00695C !important;
}

/* ── Menu Icon Styling ── */
.pc-sidebar .pc-navbar .pc-micon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
}

.pc-sidebar .pc-navbar .pc-micon i,
.pc-sidebar .pc-navbar .pc-micon svg {
    font-size: 21px !important;
    width: 21px !important;
    height: 21px !important;
    color: #444444 !important;
    stroke-width: 1.6 !important;
    transition: color 0.15s ease !important;
}

.pc-sidebar .pc-navbar .pc-mtext {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transition: opacity 0.2s ease, width 0.25s ease !important;
}

/* ── Active State (Exact match to reference image) ── */
.pc-sidebar .pc-navbar > .pc-item.active,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active {
    border-radius: 12px !important;
    overflow: hidden !important;
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link {
    background: #E6F8F5 !important;
    color: #00695C !important;
    font-weight: 700 !important;
    padding-left: 20px !important;
    border-radius: 12px !important;
}

/* Dark Teal Left Pill Bar Indicator */
.pc-sidebar .pc-navbar > .pc-item.active::before,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 5px !important;
    background: #00695C !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    z-index: 3 !important;
    display: block !important;
}

.pc-sidebar .pc-navbar > .pc-item.active::after,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active::after {
    display: none !important;
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-micon i,
.pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-micon svg,
.pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-mtext,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link .pc-micon i,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link .pc-micon svg,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link .pc-mtext {
    color: #00695C !important;
}

/* ── Hover State ── */
.pc-sidebar .pc-navbar > .pc-item > .pc-link:hover .pc-micon i,
.pc-sidebar .pc-navbar > .pc-item > .pc-link:hover .pc-micon svg {
    color: #D9A441 !important;
}

/* ── Submenu Arrow ── */
.pc-sidebar .pc-navbar .pc-arrow {
    margin-left: auto !important;
}

.pc-sidebar .pc-navbar .pc-arrow i,
.pc-sidebar .pc-navbar .pc-arrow svg {
    width: 16px !important;
    height: 16px !important;
    color: #8FA1B5 !important;
    transition: transform 0.25s ease, color 0.15s ease !important;
}

.pc-sidebar .pc-navbar > .pc-item.pc-trigger > .pc-link .pc-arrow i,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger > .pc-link .pc-arrow svg {
    transform: rotate(90deg) !important;
    color: #D9A441 !important;
}

/* ── Submenu Styling ── */
.pc-sidebar .pc-submenu {
    background: transparent !important;
    padding: 2px 0 6px 0 !important;
    margin: 0 !important;
    border-left: none !important;
}

.pc-sidebar .pc-submenu .pc-item {
    margin: 0 !important;
}

.pc-sidebar .pc-submenu .pc-link {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #D8E0E8 !important;
    padding: 10px 24px 10px 62px !important;
    border-radius: 0 !important;
    transition: all 0.15s ease !important;
    position: relative !important;
}

.pc-sidebar .pc-submenu .pc-link::before {
    content: '' !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #8FA1B5 !important;
    position: absolute !important;
    left: 44px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.15s ease !important;
}

.pc-sidebar .pc-submenu .pc-link:hover {
    color: #D9A441 !important;
    background: #102B45 !important;
}

.pc-sidebar .pc-submenu .pc-link:hover::before {
    background: #D9A441 !important;
}

.pc-sidebar .pc-submenu .pc-item.active .pc-link {
    color: #D9A441 !important;
    font-weight: 600 !important;
    background: #102B45 !important;
}

.pc-sidebar .pc-submenu .pc-item.active .pc-link::before {
    background: #D9A441 !important;
    width: 6px !important;
    height: 6px !important;
}

/* ── Version Badge at Bottom ── */
.pc-sidebar .theme-version {
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-size: 10px !important;
    color: #C5C6D2 !important;
    background: #F8F9FA !important;
    border: 1px solid #EDEEEF !important;
}

/* ── Scrollbar ── */
.pc-sidebar .navbar-content::-webkit-scrollbar {
    width: 3px;
}
.pc-sidebar .navbar-content::-webkit-scrollbar-track {
    background: transparent;
}
.pc-sidebar .navbar-content::-webkit-scrollbar-thumb {
    background: #E0E0E0;
    border-radius: 3px;
}
.pc-sidebar .navbar-content::-webkit-scrollbar-thumb:hover {
    background: #BDBDBD;
}


/* ═══════════════════════════════════════════════════════════════════════════════
   Icon-Only Collapsed Sidebar (instead of completely hiding)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1025px) {
    /* Override: don't set width to 0, use icon-only width instead */
    .pc-sidebar.pc-sidebar-hide,
    body.pc-sidebar-hide .pc-sidebar {
        width: 70px !important;
        --pc-sidebar-border: 1px solid #F0F1F3 !important;
    }

    /* Keep inner containers at 70px */
    .pc-sidebar.pc-sidebar-hide .navbar-wrapper,
    body.pc-sidebar-hide .pc-sidebar .navbar-wrapper,
    .pc-sidebar.pc-sidebar-hide .navbar-content,
    body.pc-sidebar-hide .pc-sidebar .navbar-content,
    .pc-sidebar.pc-sidebar-hide .simplebar-wrapper,
    body.pc-sidebar-hide .pc-sidebar .simplebar-wrapper,
    .pc-sidebar.pc-sidebar-hide .simplebar-mask,
    body.pc-sidebar-hide .pc-sidebar .simplebar-mask,
    .pc-sidebar.pc-sidebar-hide .simplebar-offset,
    body.pc-sidebar-hide .pc-sidebar .simplebar-offset,
    .pc-sidebar.pc-sidebar-hide .simplebar-content-wrapper,
    body.pc-sidebar-hide .pc-sidebar .simplebar-content-wrapper,
    .pc-sidebar.pc-sidebar-hide .simplebar-content,
    body.pc-sidebar-hide .pc-sidebar .simplebar-content {
        width: 70px !important;
    }

    /* Shift header and content for icon-only sidebar */
    .pc-sidebar.pc-sidebar-hide ~ .pc-header,
    body.pc-sidebar-hide .pc-header {
        left: 70px !important;
    }

    .pc-sidebar.pc-sidebar-hide ~ .pc-footer,
    .pc-sidebar.pc-sidebar-hide ~ .pc-container,
    body.pc-sidebar-hide .pc-footer,
    body.pc-sidebar-hide .pc-container {
        margin-left: 70px !important;
    }

    /* Header in sidebar */
    .pc-sidebar.pc-sidebar-hide .m-header,
    body.pc-sidebar-hide .pc-sidebar .m-header {
        padding: 18px 0 !important;
        width: 70px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .pc-sidebar.pc-sidebar-hide .m-header .logo-lg,
    body.pc-sidebar-hide .pc-sidebar .m-header .logo-lg {
        display: none !important;
    }

    /* Navbar items & links */
    .pc-sidebar.pc-sidebar-hide .pc-navbar,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar {
        width: 70px !important;
        padding: 0 !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item {
        width: 70px !important;
        margin: 0 !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item > .pc-link,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item > .pc-link {
        width: 70px !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 14px 0 !important;
        gap: 0 !important;
        display: flex !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar .pc-micon,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar .pc-micon {
        width: 24px !important;
        height: 24px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar .pc-micon i,
    .pc-sidebar.pc-sidebar-hide .pc-navbar .pc-micon svg,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar .pc-micon i,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar .pc-micon svg {
        font-size: 21px !important;
        width: 21px !important;
        height: 21px !important;
        color: #444444 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar .pc-mtext,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar .pc-mtext {
        display: none !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar .pc-arrow,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar .pc-arrow {
        display: none !important;
    }

    /* Hide submenus in collapsed state */
    .pc-sidebar.pc-sidebar-hide .pc-submenu,
    body.pc-sidebar-hide .pc-sidebar .pc-submenu {
        display: none !important;
    }

    /* Active indicator still visible */
    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.active::after,
    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.pc-trigger.active::after,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.active::after,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.pc-trigger.active::after {
        top: 6px !important;
        bottom: 6px !important;
        right: 0 !important;
    }

    /* Active icon color in collapsed state */
    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.active .pc-micon i,
    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.active .pc-micon svg,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.active .pc-micon i,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.active .pc-micon svg {
        color: #D9A441 !important;
    }

    /* Hide version badge */
    .pc-sidebar.pc-sidebar-hide .theme-version,
    body.pc-sidebar-hide .pc-sidebar .theme-version {
        display: none !important;
    }

    /* Tooltip on hover for collapsed items */
    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item {
        position: relative !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item > .pc-link::after,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item > .pc-link::after {
        content: attr(data-dd-tooltip);
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: #0B2239;
        color: #D9A441;
        border: 1px solid #29435D;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        font-family: 'Hanken Grotesk', sans-serif;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease;
        z-index: 1050;
        margin-left: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item > .pc-link:hover::after,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item > .pc-link:hover::after {
        opacity: 1;
    }

    /* Show submenus as flyout on hover in collapsed mode */
    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.pc-hasmenu:hover > .pc-submenu,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.pc-hasmenu:hover > .pc-submenu {
        display: block !important;
        position: absolute !important;
        left: 70px !important;
        top: 0 !important;
        min-width: 200px !important;
        background: #0B2239 !important;
        border: 1px solid #29435D !important;
        border-radius: 10px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
        padding: 8px 0 !important;
        z-index: 1050 !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.pc-hasmenu:hover > .pc-submenu .pc-link,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.pc-hasmenu:hover > .pc-submenu .pc-link {
        padding: 10px 20px 10px 32px !important;
        color: #D8E0E8 !important;
    }

    .pc-sidebar.pc-sidebar-hide .pc-navbar > .pc-item.pc-hasmenu:hover > .pc-submenu .pc-link::before,
    body.pc-sidebar-hide .pc-sidebar .pc-navbar > .pc-item.pc-hasmenu:hover > .pc-submenu .pc-link::before {
        left: 16px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Dark Mode Sidebar & Profile Pill
   ═══════════════════════════════════════════════════════════════════════════════ */

.pc-sidebar,
.pc-sidebar .navbar-wrapper,
.pc-sidebar .navbar-content {
    background: #0B2239 !important;
    border-color: #29435D !important;
}

.pc-sidebar .m-header {
    background: #0B2239 !important;
    border-color: #29435D !important;
}

.pc-sidebar .pc-navbar > .pc-item > .pc-link {
    color: #D8E0E8 !important;
}

.pc-sidebar .pc-navbar > .pc-item > .pc-link:hover {
    background: #102B45 !important;
    color: #D9A441 !important;
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link {
    background: #102B45 !important;
    color: #D9A441 !important;
}

.pc-sidebar .pc-navbar > .pc-item.active::after,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active::after {
    background: #D9A441 !important;
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-micon i,
.pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-micon svg,
.pc-sidebar .pc-navbar > .pc-item.active > .pc-link .pc-mtext,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link .pc-micon i,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link .pc-micon svg,
.pc-sidebar .pc-navbar > .pc-item.pc-trigger.active > .pc-link .pc-mtext {
    color: #D9A441 !important;
}

.pc-sidebar .pc-navbar .pc-micon i,
.pc-sidebar .pc-navbar .pc-micon svg {
    color: #8FA1B5 !important;
}

.pc-sidebar .pc-submenu .pc-link {
    color: #D8E0E8 !important;
}

.pc-sidebar .pc-submenu .pc-link:hover {
    color: #D9A441 !important;
    background: #102B45 !important;
}

.pc-sidebar .pc-submenu .pc-item.active .pc-link {
    color: #D9A441 !important;
    background: #102B45 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Header User Profile Pill Styling
   ═══════════════════════════════════════════════════════════════════════════════ */

.pc-header .header-user-profile .pc-head-link {
    width: auto !important;
    min-width: 44px !important;
    height: 42px !important;
    padding: 4px 14px 4px 6px !important;
    border-radius: 30px !important;
    background: #102B45 !important;
    border: 1px solid #29435D !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.pc-header .header-user-profile .pc-head-link:hover {
    background: #0B2239 !important;
    border-color: #D9A441 !important;
}

.pc-header .header-user-profile .pc-head-link .user-avtar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 0 !important;
    border: 1.5px solid #D9A441 !important;
}

.pc-header .header-user-profile .pc-head-link .user-name {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1 !important;
}

[data-pc-theme="dark"] .pc-header .header-user-profile .pc-head-link {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.12) !important;
}

[data-pc-theme="dark"] .pc-header .header-user-profile .pc-head-link .user-name {
    color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Global Standardized Typography System (Hanken Grotesk Everywhere)
   ═══════════════════════════════════════════════════════════════════════════════ */

body, html, 
.pc-container, 
.pc-sidebar, 
.pc-header, 
.card, 
.table, 
.form-control, 
.form-select, 
.form-label, 
.btn, 
.modal, 
.dropdown-menu, 
.popover, 
.tooltip, 
.badge, 
th, td, label, input, select, textarea {
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Base Body Font Size */
body {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1E293B !important;
}

/* Sidebar Menu Text */
.pc-sidebar .pc-mtext {
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Tables & DataTables Font Standardizing */
.table, 
table.dataTable {
    font-size: 13.5px !important;
}

.table thead th, 
table.dataTable thead th, 
.table th {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748B !important;
    padding: 12px 16px !important;
}

.table tbody td, 
table.dataTable tbody td, 
.table td {
    font-size: 13.5px !important;
    padding: 12px 16px !important;
    vertical-align: middle !important;
    color: #1E293B !important;
}

/* Badges & Status Pills */
.badge, 
.dd-badge, 
.bg-primary, 
.bg-secondary, 
.bg-success, 
.bg-danger, 
.bg-warning, 
.bg-info {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    letter-spacing: 0.3px !important;
}

/* Form Controls & Inputs */
.form-label, 
label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.form-control, 
.form-select, 
.select2-container .select2-selection--single {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #0F172A !important;
}

/* Buttons */
.btn {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
}

.btn-sm {
    font-size: 12.5px !important;
    padding: 5px 12px !important;
}

/* Headings */
h1, .h1 { font-size: 24px !important; font-weight: 800 !important; }
h2, .h2 { font-size: 22px !important; font-weight: 800 !important; }
h3, .h3 { font-size: 20px !important; font-weight: 700 !important; }
h4, .h4 { font-size: 18px !important; font-weight: 700 !important; }
h5, .h5 { font-size: 16px !important; font-weight: 700 !important; }
h6, .h6 { font-size: 14px !important; font-weight: 600 !important; }

/* Small text fallback - minimum 12.5px */
small, .text-sm, .text-muted {
    font-size: 12.5px !important;
}

/* =========================================================================== */
/* GLOBAL BUTTON SPACING & DATATABLES ACTION BUTTON ENHANCEMENTS */
/* =========================================================================== */

/* Spacing for DataTables Export Buttons (Excel, PDF, Copy, Column Visibility) */
div.dt-buttons,
.dt-buttons.btn-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 14px !important;
}

div.dt-buttons .btn,
div.dt-buttons .dt-button,
.dt-buttons.btn-group .btn,
.dt-buttons .btn-secondary {
    border-radius: 8px !important;
    margin-right: 8px !important;
    margin-bottom: 4px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

div.dt-buttons .btn:last-child,
div.dt-buttons .dt-button:last-child,
.dt-buttons.btn-group .btn:last-child {
    margin-right: 0 !important;
}

/* Prevent Bootstrap btn-group from stripping border-radius and jamming buttons */
.dt-buttons.btn-group > .btn:not(:first-child),
.dt-buttons.btn-group > .btn-group:not(:first-child) > .btn {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.dt-buttons.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.dt-buttons.btn-group > .btn-group:not(:last-child) > .btn {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Action Buttons Spacing in Tables */
.dd-action-btn,
.action-btn,
.btn-action {
    margin: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure forms inside table action cells lay out children with gap */
table td form,
.table td form {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
}

/* General Spacing between adjacent buttons */
.btn + .btn,
.btn + a.btn,
a.btn + .btn,
a.btn + a.btn,
button + button,
.btn + form,
form + .btn,
form + form {
    margin-left: 8px !important;
}


/* ==========================================================================
   DARZIDESK LUXURY NAVY & ATELIER GOLD APP THEME OVERRIDE
   Synchronized 1:1 with Flutter App Theme (darzidesk_app/lib/config/theme.dart)
   ========================================================================== */

/* ─── 1. Core Color Tokens & CSS Variables ─── */
:root,
[data-pc-preset],
[data-pc-theme],
body {
    --app-bg: #03111F;
    --card-bg: #0B2239;
    --input-bg: #102B45;
    --primary-gold: #D9A441;
    --primary-gold-rgb: 217, 164, 65;
    --primary-light-gold: #F4C861;
    --primary-light-gold-rgb: 244, 200, 97;
    --text-white: #FFFFFF;
    --secondary-text: #D8E0E8;
    --muted-text: #8FA1B5;
    --border-navy: #29435D;
    --status-error: #EF4444;

    /* Bootstrap System Overrides */
    --bs-primary: #D9A441 !important;
    --bs-primary-rgb: 217, 164, 65 !important;
    --bs-secondary: #F4C861 !important;
    --bs-secondary-rgb: 244, 200, 97 !important;
    --bs-body-bg: #03111F !important;
    --bs-body-color: #D8E0E8 !important;
    --bs-heading-color: #FFFFFF !important;
    --bs-card-bg: #0B2239 !important;
    --bs-border-color: #29435D !important;
    --bs-link-color: #D9A441 !important;
    --bs-link-hover-color: #F4C861 !important;

    /* Preset & Framework Theme Variables */
    --pc-sidebar-background: #0B2239 !important;
    --pc-sidebar-color: #D8E0E8 !important;
    --pc-sidebar-active-color: #D9A441 !important;
    --pc-header-background: #03111F !important;
    --pc-header-color: #FFFFFF !important;
    --pc-active-background: #102B45 !important;
}

/* ─── 2. Global Layout, Backgrounds & Typography ─── */
body,
html,
.main-content,
.pc-container,
.pc-content,
.auth-main,
.landing-page,
.bg-body,
.bg-light,
.bg-white,
.bg-gray-100,
.page-header {
    background-color: #03111F !important;
    color: #D8E0E8 !important;
    font-family: 'Hanken Grotesk', 'Roboto', system-ui, -apple-system, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.page-header-title h5,
.card-title,
.modal-title {
    color: #FFFFFF !important;
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 700 !important;
}

p, span, label, div {
    color: inherit;
}

.text-muted,
.text-black-50,
.text-white-50 {
    color: #8FA1B5 !important;
}

.text-primary,
.text-gold {
    color: #D9A441 !important;
}

.text-secondary {
    color: #F4C861 !important;
}

a {
    color: #D9A441;
    transition: color 0.2s ease;
}

a:hover {
    color: #F4C861;
}

/* ─── 3. Header Topbar & Sidebar Navigation ─── */
.pc-header,
.navbar,
.navbar.default {
    background-color: #03111F !important;
    border-bottom: 1px solid #29435D !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.navbar-light .navbar-nav .nav-link,
.pc-header .pc-head-link {
    color: #D8E0E8 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.pc-header .pc-head-link:hover {
    color: #D9A441 !important;
}

.pc-sidebar {
    background-color: #0B2239 !important;
    border-right: 1px solid #29435D !important;
}

.pc-sidebar .pc-link {
    color: #D8E0E8 !important;
}

.pc-sidebar .pc-item.active > .pc-link,
.pc-sidebar .pc-item:hover > .pc-link {
    background-color: #102B45 !important;
    color: #D9A441 !important;
}

.pc-sidebar .pc-micon,
.pc-sidebar .pc-item.active > .pc-link .pc-micon,
.pc-sidebar .pc-item:hover > .pc-link .pc-micon {
    color: #D9A441 !important;
}

/* ─── 4. Cards, Containers, Modals & Panels ─── */
.card,
.custom-card,
.modal-content,
.dropdown-menu,
.offcanvas,
.popover,
.swal2-popup,
.box,
.bg-white.shadow,
.bg-white.rounded {
    background-color: #0B2239 !important;
    border: 1px solid #29435D !important;
    color: #D8E0E8 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.card-header,
.modal-header,
.card-footer,
.modal-footer {
    background-color: #03111F !important;
    border-color: #29435D !important;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.dropdown-item {
    color: #D8E0E8 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #102B45 !important;
    color: #D9A441 !important;
}

/* ─── 5. Buttons & Primary Actions ─── */
.btn-primary,
button.btn-primary,
a.btn-primary,
.bg-primary {
    background: linear-gradient(135deg, #D9A441 0%, #C38E45 100%) !important;
    border: none !important;
    color: #03111F !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(217, 164, 65, 0.3) !important;
    transition: all 0.25s ease !important;
    border-radius: 10px !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background: linear-gradient(135deg, #F4C861 0%, #D9A441 100%) !important;
    color: #03111F !important;
    box-shadow: 0 6px 20px rgba(244, 200, 97, 0.4) !important;
    transform: translateY(-1px) !important;
}

.btn-secondary,
.btn-outline-primary,
.btn-light-primary {
    background-color: #102B45 !important;
    border: 1.5px solid #D9A441 !important;
    color: #D9A441 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    border-radius: 10px !important;
}

.btn-secondary:hover,
.btn-outline-primary:hover,
.btn-light-primary:hover {
    background-color: #D9A441 !important;
    color: #03111F !important;
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.3) !important;
}

.btn-light-info,
.btn-outline-info {
    background-color: #102B45 !important;
    border: 1px solid #F4C861 !important;
    color: #F4C861 !important;
    border-radius: 8px !important;
}

.btn-light-info:hover,
.btn-outline-info:hover {
    background-color: #F4C861 !important;
    color: #03111F !important;
}

.btn-light-danger,
.btn-outline-danger {
    background-color: #102B45 !important;
    border: 1px solid #EF4444 !important;
    color: #EF4444 !important;
    border-radius: 8px !important;
}

.btn-light-danger:hover,
.btn-outline-danger:hover {
    background-color: #EF4444 !important;
    color: #FFFFFF !important;
}

/* ─── 6. Inputs & Form Controls ─── */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
textarea,
select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: #102B45 !important;
    border: 1px solid #29435D !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    color: #8FA1B5 !important;
    opacity: 0.8 !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: #D9A441 !important;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25) !important;
    background-color: #102B45 !important;
    color: #FFFFFF !important;
}

.select2-dropdown {
    background-color: #0B2239 !important;
    border: 1px solid #29435D !important;
    color: #D8E0E8 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #102B45 !important;
    color: #D9A441 !important;
}

/* ─── 7. Tables & DataTables Styling ─── */
.table-responsive {
    border-radius: 12px !important;
    overflow: hidden !important;
}

table.dataTable,
table.table {
    background-color: #0B2239 !important;
    border: 1px solid #29435D !important;
    color: #D8E0E8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

table.dataTable thead th,
table.table thead th {
    background-color: #102B45 !important;
    color: #F4C861 !important;
    border-bottom: 1px solid #29435D !important;
    font-weight: 700 !important;
}

table.dataTable tbody tr,
table.table tbody tr {
    background-color: #0B2239 !important;
}

table.dataTable tbody tr:nth-child(even),
table.table tbody tr:nth-child(even) {
    background-color: #07192A !important;
}

table.dataTable tbody tr:hover,
table.table tbody tr:hover {
    background-color: #102B45 !important;
}

table.dataTable tbody td,
table.table tbody td {
    color: #D8E0E8 !important;
    border-bottom: 1px solid #29435D !important;
}

.dataTables_wrapper .dataTables_info {
    color: #8FA1B5 !important;
}

.dataTables_wrapper .dataTables_filter label {
    color: #D8E0E8 !important;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: #102B45 !important;
    border: 1px solid #29435D !important;
    color: #FFFFFF !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #D9A441 !important;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2) !important;
}

div.dt-buttons .btn,
div.dt-buttons .dt-button,
.dt-buttons.btn-group .btn {
    background-color: #102B45 !important;
    border: 1px solid #29435D !important;
    color: #D8E0E8 !important;
}

div.dt-buttons .btn:hover,
div.dt-buttons .dt-button:hover {
    background-color: #D9A441 !important;
    color: #03111F !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.pagination .page-item .page-link {
    background-color: #102B45 !important;
    border: 1px solid #29435D !important;
    color: #D8E0E8 !important;
    border-radius: 8px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled),
.pagination .page-item .page-link:hover {
    background-color: #1E3A5A !important;
    color: #D9A441 !important;
    border-color: #D9A441 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.pagination .page-item.active .page-link {
    background-color: #D9A441 !important;
    border-color: #D9A441 !important;
    color: #03111F !important;
    font-weight: 700 !important;
}

/* ─── 8. Badges, Chips & Status Indicators ─── */
.badge {
    border-radius: 20px !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
}

.badge-primary,
.bg-primary.badge {
    background-color: #D9A441 !important;
    color: #03111F !important;
}

.badge-secondary,
.bg-secondary.badge {
    background-color: #102B45 !important;
    color: #F4C861 !important;
    border: 1px solid #29435D !important;
}

.badge-success {
    background-color: rgba(217, 164, 65, 0.15) !important;
    color: #D9A441 !important;
    border: 1px solid #D9A441 !important;
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #EF4444 !important;
    border: 1px solid #EF4444 !important;
}

/* ─── 9. Footer & Miscellaneous ─── */
footer.footer,
.lan-footer {
    background-color: #03111F !important;
    border-top: 1px solid #29435D !important;
    color: #8FA1B5 !important;
}

footer.footer a {
    color: #8FA1B5 !important;
}

footer.footer a:hover {
    color: #D9A441 !important;
}

.hr, hr, divider {
    border-color: #29435D !important;
}

