:root {
    --primary-gold: #ffd700;
    --off-white: #f8f9fa;
    --medium-gray: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --deep-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --soft-border-radius: 16px;
    --transition-speed: 0.3s;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--soft-border-radius);
    box-shadow: var(--deep-shadow);
    transition:
        transform var(--transition-speed),
        box-shadow var(--transition-speed);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-right: 1px solid var(--glass-border) !important;
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link {
    background: var(--primary-gold) !important;
    color: #000 !important;
    border-radius: 8px;
}

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

.premium-bg {
    background-color: var(--primary-gold) !important;
    color: #000 !important;
}

.sub-headline {
    color: var(--off-white) !important;
}

.text-muted-modern {
    color: var(--medium-gray) !important;
}

/* Micro-animations */
.hover-lift {
    transition: transform var(--transition-speed) ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.pulse-gold:hover {
    animation: gold-pulse 1.5s infinite;
}

@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.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: 155px;
}

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

.b-brand .logo {
    max-width: 155px !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-- {
    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;
}

/* =========================================================================== */
.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: 0.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);
}

@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;
}

/* .avatar-hover-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-hover-popup {
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    display: none;
    z-index: 999;
    width: 300px;
}

.avatar-hover-wrapper:hover .avatar-hover-popup {
    display: block;
}

.popup-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 8px;
}

.popup-info {
    text-align: center;
    font-size: 14px;
} */

.avatar-popup-fixed {
    position: fixed;
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    width: 220px;
    pointer-events: none;
}

.avatar-popup-fixed img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 8px;
}

/* Dynamic Header Backgrounds */
.card-header.header-trainee { background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), transparent) !important; border-left: 4px solid #3498db !important; }
.card-header.header-trainer { background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), transparent) !important; border-left: 4px solid #2ecc71 !important; }
.card-header.header-invoice { background: linear-gradient(90deg, rgba(241, 196, 15, 0.1), transparent) !important; border-left: 4px solid #f1c40f !important; }
.card-header.header-product { background: linear-gradient(90deg, rgba(231, 76, 60, 0.1), transparent) !important; border-left: 4px solid #e74c3c !important; }
.card-header.header-classes { background: linear-gradient(90deg, rgba(155, 89, 182, 0.1), transparent) !important; border-left: 4px solid #9b59b2 !important; }
.card-header.header-membership { background: linear-gradient(90deg, rgba(26, 188, 156, 0.1), transparent) !important; border-left: 4px solid #1abc9c !important; }
.card-header.header-locker { background: linear-gradient(90deg, rgba(230, 126, 34, 0.1), transparent) !important; border-left: 4px solid #e67e22 !important; }
.card-header.header-workout { background: linear-gradient(90deg, rgba(52, 73, 94, 0.1), transparent) !important; border-left: 4px solid #34495e !important; }
.card-header.header-nutrition { background: linear-gradient(90deg, rgba(127, 140, 141, 0.1), transparent) !important; border-left: 4px solid #7f8c8d !important; }
.card-header.header-subscription { background: linear-gradient(90deg, rgba(22, 160, 133, 0.1), transparent) !important; border-left: 4px solid #16a085 !important; }
.card-header.header-user { background: linear-gradient(90deg, rgba(41, 128, 185, 0.1), transparent) !important; border-left: 4px solid #2980b9 !important; }
.card-header.header-settings { background: linear-gradient(90deg, rgba(149, 165, 166, 0.1), transparent) !important; border-left: 4px solid #95a5a6 !important; }
.card-header.header-faq { background: linear-gradient(90deg, rgba(243, 156, 18, 0.1), transparent) !important; border-left: 4px solid #f39c12 !important; }
.card-header.header-pages { background: linear-gradient(90deg, rgba(44, 62, 80, 0.1), transparent) !important; border-left: 4px solid #2c3e50 !important; }
.card-header.header-event { background: linear-gradient(90deg, rgba(192, 57, 43, 0.1), transparent) !important; border-left: 4px solid #c0392b !important; }
.card-header.header-note { background: linear-gradient(90deg, rgba(211, 84, 0, 0.1), transparent) !important; border-left: 4px solid #d35400 !important; }
.card-header.header-notification { background: linear-gradient(90deg, rgba(142, 68, 173, 0.1), transparent) !important; border-left: 4px solid #8e44ad !important; }
.card-header.header-category { background: linear-gradient(90deg, rgba(39, 174, 96, 0.1), transparent) !important; border-left: 4px solid #27ae60 !important; }
.card-header.header-activity { background: linear-gradient(90deg, rgba(44, 62, 80, 0.1), transparent) !important; border-left: 4px solid #2c3e50 !important; }
.card-header.header-finance { background: linear-gradient(90deg, rgba(31, 38, 135, 0.1), transparent) !important; border-left: 4px solid #1f2687 !important; }
.card-header.header-contact { background: linear-gradient(90deg, rgba(22, 160, 133, 0.1), transparent) !important; border-left: 4px solid #16a085 !important; }
.card-header.header-dashboard { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent) !important; border-left: 4px solid #ffd700 !important; }
.card-header.header-attendance { background: linear-gradient(90deg, rgba(233, 30, 99, 0.1), transparent) !important; border-left: 4px solid #e91e63 !important; }
.card-header.header-coupon { background: linear-gradient(90deg, rgba(255, 152, 0, 0.1), transparent) !important; border-left: 4px solid #ff9800 !important; }
.card-header.header-health { background: linear-gradient(90deg, rgba(76, 175, 80, 0.1), transparent) !important; border-left: 4px solid #4caf50 !important; }
.card-header.header-expense { background: linear-gradient(90deg, rgba(244, 67, 54, 0.1), transparent) !important; border-left: 4px solid #f44336 !important; }

/* Dynamic Breadcrumb Styles */
.breadcrumb.breadcrumb-modern {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: inline-flex;
    margin-bottom: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.breadcrumb-modern:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-1px);
}

.bc-trainee { border-left: 3px solid #3498db !important; background: rgba(52, 152, 219, 0.08) !important; }
.bc-trainer { border-left: 3px solid #2ecc71 !important; background: rgba(46, 204, 113, 0.08) !important; }
.bc-invoice { border-left: 3px solid #f1c40f !important; background: rgba(241, 196, 15, 0.08) !important; }
.bc-product { border-left: 3px solid #e74c3c !important; background: rgba(231, 76, 60, 0.08) !important; }
.bc-classes { border-left: 3px solid #9b59b2 !important; background: rgba(155, 89, 182, 0.08) !important; }
.bc-membership { border-left: 3px solid #1abc9c !important; background: rgba(26, 188, 156, 0.08) !important; }
.bc-locker { border-left: 3px solid #e67e22 !important; background: rgba(230, 126, 34, 0.08) !important; }
.bc-workout { border-left: 3px solid #34495e !important; background: rgba(52, 73, 94, 0.08) !important; }
.bc-nutrition { border-left: 3px solid #7f8c8d !important; background: rgba(127, 140, 141, 0.08) !important; }
.bc-subscription { border-left: 3px solid #16a085 !important; background: rgba(22, 160, 133, 0.08) !important; }
.bc-user { border-left: 3px solid #2980b9 !important; background: rgba(41, 128, 185, 0.08) !important; }
.bc-settings { border-left: 3px solid #95a5a6 !important; background: rgba(149, 165, 166, 0.08) !important; }
.bc-faq { border-left: 3px solid #f39c12 !important; background: rgba(243, 156, 18, 0.08) !important; }
.bc-pages { border-left: 3px solid #2c3e50 !important; background: rgba(44, 62, 80, 0.08) !important; }
.bc-event { border-left: 3px solid #c0392b !important; background: rgba(192, 57, 43, 0.08) !important; }
.bc-note { border-left: 3px solid #d35400 !important; background: rgba(211, 84, 0, 0.08) !important; }
.bc-notification { border-left: 3px solid #8e44ad !important; background: rgba(142, 68, 173, 0.08) !important; }
.bc-category { border-left: 3px solid #27ae60 !important; background: rgba(39, 174, 96, 0.08) !important; }
.bc-activity { border-left: 3px solid #2c3e50 !important; background: rgba(44, 62, 80, 0.08) !important; }
.bc-finance { border-left: 3px solid #1f2687 !important; background: rgba(31, 38, 135, 0.08) !important; }
.bc-contact { border-left: 3px solid #16a085 !important; background: rgba(22, 160, 133, 0.08) !important; }
.bc-dashboard { border-left: 3px solid #ffd700 !important; background: rgba(255, 215, 0, 0.08) !important; }
.bc-attendance { border-left: 3px solid #e91e63 !important; background: rgba(233, 30, 99, 0.08) !important; }
.bc-coupon { border-left: 3px solid #ff9800 !important; background: rgba(255, 152, 0, 0.08) !important; }
.bc-expense { border-left: 3px solid #f44336 !important; background: rgba(244, 67, 54, 0.08) !important; }
.bc-health { border-left: 3px solid #4caf50 !important; background: rgba(76, 175, 80, 0.08) !important; }
.bc-product-booking { border-left: 3px solid #607d8b !important; background: rgba(96, 125, 139, 0.08) !important; }
