.vcourt-user-panel-layout {
    --vcourt-panel-container-max: var(
        --vcourt-site-header-width,
        var(
            --container-max-width,
            var(
                --e-con-container-max-width,
                var(
                    --wp--style--global--content-size,
                var(--ast-container-default-xlg-width, 1140px)
                )
            )
        )
    );
    direction: rtl;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    width: 100%;
    max-width: min(var(--vcourt-panel-synced-width, var(--vcourt-panel-container-max)), 100%);
    margin-inline: auto;
    padding-inline: 12px;
    box-sizing: border-box;
}

.vcourt-user-panel-layout.vcourt-user-panel-layout--customer-inline-nav {
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
}

.vcourt-user-panel-layout.vcourt-user-panel-layout--customer-inline-nav > .vcourt-user-panel-hero-wrap,
.vcourt-user-panel-layout.vcourt-user-panel-layout--customer-inline-nav > .vcourt-user-panel-content {
    inline-size: 100%;
    max-inline-size: 100%;
    justify-self: stretch;
}

.vcourt-user-panel-auth-wrap {
    direction: rtl;
    width: 100%;
    max-width: 1160px;
    margin: 24px auto 72px;
    padding: 0 12px;
    box-sizing: border-box;
    background: #08121D;
    border-radius: 28px;
}

.vcourt-user-panel-auth-shell {
    width: 100%;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.95fr);
    background: #f7f9fc;
    box-shadow: none;
}

.vcourt-user-panel-auth-cover {
    min-height: 560px;
    background: #08121D;
    --vcourt-auth-cover-rotation: 0deg;
    --vcourt-auth-cover-image: none;
    position: relative;
    overflow: hidden;
}

.vcourt-user-panel-auth-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 29, 0.28);
    z-index: 1;
}

.vcourt-user-panel-auth-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--vcourt-auth-cover-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(var(--vcourt-auth-cover-rotation));
    transform-origin: center center;
    z-index: 0;
}

.vcourt-user-panel-auth-tabs,
.vcourt-user-panel-auth-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 4px;
}

.vcourt-user-panel-auth-tab,
.vcourt-user-panel-auth-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #d7deea;
    background: #f7f9fc;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.vcourt-user-panel-auth-tab:hover,
.vcourt-user-panel-auth-method:hover {
    border-color: #1c5bab;
    color: #000;
}

.vcourt-user-panel-auth-tab.is-active,
.vcourt-user-panel-auth-method.is-active {
    background: #1c5bab;
    border-color: #1c5bab;
    color: #fff;
}

.vcourt-user-panel-hint-link {
    display: inline-flex;
    font-size: 10.4px;
    color: #1c5bab;
    text-decoration: none;
    margin-top: 4px;
}

.vcourt-user-panel-hint-link:hover {
    color: #1c5bab;
    opacity: 0.9;
}

.vcourt-user-panel-hero-wrap {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    display: grid;
    gap: 10px;
}

.vcourt-user-panel-layout .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-text {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-name-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge {
    --vc-level-bg-1: rgba(156, 163, 175, 0.26);
    --vc-level-bg-2: rgba(107, 114, 128, 0.18);
    --vc-level-glow: rgba(255, 255, 255, 0.35);
    --vc-level-border: rgba(148, 163, 184, 0.62);
    --vc-level-text: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    min-height: 36px;
    padding: 4px 9px;
    width: 122px;
    min-width: 122px;
    max-width: 122px;
    border-radius: 999px;
    border: 1px solid var(--vc-level-border);
    background:
        linear-gradient(145deg, var(--vc-level-bg-1) 0%, var(--vc-level-bg-2) 100%),
        radial-gradient(circle at 22% 20%, var(--vc-level-glow), rgba(255, 255, 255, 0) 52%);
    backdrop-filter: blur(12px) saturate(128%);
    -webkit-backdrop-filter: blur(12px) saturate(128%);
    color: var(--vc-level-text);
    line-height: 1.2;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 8px 18px rgba(15, 23, 42, 0.16);
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-stars {
    display: block;
    font-size: 8.3px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 1;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-text {
    display: block;
    font-size: 7px;
    font-weight: 300;
    letter-spacing: 0.15px;
    white-space: nowrap;
    line-height: 1;
    opacity: 0.95;
}

.vcourt-user-panel-hero-wrap .vcourt-user-survey-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.2;
}

.vcourt-user-panel-hero-wrap .vcourt-user-survey-rating-inline__label {
    color: #64748b;
    font-size: 9px;
    font-weight: 300;
    line-height: 1;
}

.vcourt-user-panel-hero-wrap .vcourt-user-survey-rating-inline.is-inactive {
    opacity: 0.65;
}

.vcourt-user-panel-hero-wrap .vcourt-user-survey-rating-inline__stars {
    color: #f59e0b;
    letter-spacing: 0.2px;
    font-size: 11px;
    line-height: 1;
    opacity: 0.9;
}

.vcourt-user-panel-hero-wrap .vcourt-user-survey-rating-inline__number {
    color: #475569;
    font-size: 10px;
    font-weight: 300;
    line-height: 1;
}

.vcourt-user-survey-rating-inline[data-employee-id]:not([data-employee-id="0"]) {
    cursor: pointer;
}

.vcourt-user-rating-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.vcourt-user-rating-modal.is-open {
    display: flex;
}

.vcourt-user-rating-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(2px);
}

.vcourt-user-rating-modal__card {
    position: relative;
    width: min(500px, calc(100vw - 24px));
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.14);
}

.vcourt-user-rating-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vcourt-user-rating-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: #0f172a;
}

.vcourt-user-rating-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 20px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
}

.vcourt-user-rating-modal__close:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1e3a8a;
}

.vcourt-user-rating-modal__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

.vcourt-user-rating-modal__tabs--scope,
.vcourt-user-rating-modal__tabs--period {
    direction: rtl;
}

.vcourt-user-rating-modal__tab {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.vcourt-user-rating-modal__tab:hover {
    border-color: #5eead4;
    background: #f0fdfa;
    color: #0f766e;
}

.vcourt-user-rating-modal__tab.is-active {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.24);
}

.vcourt-user-rating-modal__body {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 2.15;
    letter-spacing: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 16px;
    min-height: 120px;
}


.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--unknown {
    --vc-level-bg-1: rgba(156, 163, 175, 0.28);
    --vc-level-bg-2: rgba(107, 114, 128, 0.20);
    --vc-level-border: rgba(148, 163, 184, 0.64);
    --vc-level-text: #334155;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l1 {
    --vc-level-bg-1: rgba(191, 219, 254, 0.34);
    --vc-level-bg-2: rgba(147, 197, 253, 0.22);
    --vc-level-border: rgba(125, 211, 252, 0.68);
    --vc-level-text: #1e40af;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l2 {
    --vc-level-bg-1: rgba(167, 243, 208, 0.36);
    --vc-level-bg-2: rgba(110, 231, 183, 0.24);
    --vc-level-border: rgba(52, 211, 153, 0.66);
    --vc-level-text: #065f46;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l3 {
    --vc-level-bg-1: rgba(187, 247, 208, 0.36);
    --vc-level-bg-2: rgba(134, 239, 172, 0.24);
    --vc-level-border: rgba(74, 222, 128, 0.66);
    --vc-level-text: #166534;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l4 {
    --vc-level-bg-1: rgba(253, 224, 71, 0.34);
    --vc-level-bg-2: rgba(250, 204, 21, 0.22);
    --vc-level-border: rgba(234, 179, 8, 0.68);
    --vc-level-text: #92400e;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l5 {
    --vc-level-bg-1: rgba(253, 186, 116, 0.36);
    --vc-level-bg-2: rgba(251, 146, 60, 0.24);
    --vc-level-border: rgba(249, 115, 22, 0.68);
    --vc-level-text: #9a3412;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l6 {
    --vc-level-bg-1: rgba(252, 165, 165, 0.36);
    --vc-level-bg-2: rgba(248, 113, 113, 0.24);
    --vc-level-border: rgba(239, 68, 68, 0.68);
    --vc-level-text: #991b1b;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge--l7 {
    --vc-level-bg-1: rgba(254, 240, 138, 0.42);
    --vc-level-bg-2: rgba(245, 158, 11, 0.28);
    --vc-level-border: rgba(217, 119, 6, 0.72);
    --vc-level-text: #92400e;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.vcourt-user-panel-hero-wrap .vcourt-user-panel-header-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #dc2626;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 10px 24px rgba(220, 38, 38, 0.3);
    transition:
        background 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.vcourt-user-panel-hero-wrap .vcourt-user-panel-header-logout:hover {
    border-color: #b91c1c;
    color: #ffffff;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 12px 26px rgba(185, 28, 28, 0.34);
    transform: translateY(-1px);
}

.vcourt-user-panel-hero-wrap .vcourt-user-panel-header-logout-icon {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0) invert(1);
}

.vcourt-user-panel-mode-switch-wrap {
    margin-top: 10px;
    width: 100%;
}

.vcourt-user-panel-mode-switch-wrap--top {
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-start;
}

.vcourt-user-panel-mode-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vcourt-user-panel-mode-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: linear-gradient(180deg, #eef2f7 0%, #e5e7eb 100%);
    color: #6b7280;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 4px 12px rgba(15, 23, 42, 0.12);
    transition:
        background 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.vcourt-user-panel-mode-tab:hover:not(.is-active) {
    background: linear-gradient(180deg, #f3f6fb 0%, #dbe2ec 100%);
    border-color: #c7d0dd;
    color: #111827;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 8px 18px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.vcourt-user-panel-mode-tab.is-active {
    background: linear-gradient(180deg, #2a69bf 0%, #1c5bab 100%);
    border-color: #1c5bab;
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 10px 24px rgba(28, 91, 171, 0.32);
}

.vcourt-user-panel-mode-tab.is-active:hover {
    background: linear-gradient(180deg, #2460b3 0%, #174b8d 100%);
    border-color: #174b8d;
    color: #fff;
    transform: translateY(-1px);
}

.vcourt-user-panel-mode-switch--sidebar {
    margin-bottom: 12px;
}

.vcourt-user-panel-nav-rail {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 72px;
    padding: 10px 12px 12px;
    margin-top: 8px;
    border-radius: 14px;
    border: 1px solid #d7dee9;
    background: linear-gradient(180deg, #f8fafd 0%, #f1f5f9 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
}

.vcourt-user-panel-nav-rail__viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    direction: rtl;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 16px;
}

.vcourt-user-panel-nav-rail__viewport::before,
.vcourt-user-panel-nav-rail__viewport::after {
    content: none;
    display: none;
}

.vcourt-user-panel-nav-rail__viewport::-webkit-scrollbar {
    height: 0;
}

.vcourt-user-panel-nav-rail__viewport::-webkit-scrollbar-track {
    background: transparent;
}

.vcourt-user-panel-nav-rail__viewport::-webkit-scrollbar-thumb {
    background: transparent;
}

.vcourt-user-panel-nav-scrollbar {
    display: none;
    position: relative;
    height: 8px;
    margin-top: 10px;
    margin-inline: 2px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.vcourt-user-panel-nav-scrollbar.is-visible {
    display: block;
}

.vcourt-user-panel-nav-scrollbar__thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 36px;
    border-radius: 999px;
    background: #94a3b8;
    transform: translateX(0);
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-user-panel-content {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.vcourt-user-panel-inline-nav {
    --vcourt-tabs-gap: 8px;
    direction: rtl;
    margin-top: 0;
    padding: 1px 1px 0;
    width: max-content;
    min-width: 100%;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: var(--vcourt-tabs-gap);
    overflow: visible;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-user-panel-hero-wrap,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-hero,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-user-panel-nav-rail,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-user-panel-nav-rail__viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* In customer panel, make booking-form tab span full panel/header width. */
.vcourt-user-panel-layout--customer-inline-nav .vcourt-booking-wizard {
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
}

/* "My Bookings" tab: full-width + rounded main shell like wallet tab. */
.vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-panel,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="bookings"] {
    width: 100% !important;
    max-width: 100% !important;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="bookings"] .vcourt-my-bookings {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
    box-sizing: border-box;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="coupons"] .vcourt-my-coupons {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .vcourt-user-panel-layout--customer-inline-nav .vcourt-booking-wizard {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="bookings"] .vcourt-my-bookings {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .vcourt-user-panel-layout--customer-inline-nav .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="coupons"] .vcourt-my-coupons {
        padding: 10px !important;
        border-radius: 14px !important;
    }
}

.vcourt-user-panel-inline-nav .vcourt-customer-tab {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
    min-height: 40px;
    padding: 10px 11px;
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
    overflow: visible;
    min-width: 0;
    box-sizing: border-box;
    flex: 0 0 135px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: linear-gradient(180deg, #eef2f7 0%, #e5e7eb 100%);
    color: #6b7280;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 4px 12px rgba(15, 23, 42, 0.12);
    transition:
        background 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.vcourt-user-panel-inline-nav .vcourt-customer-tab:hover:not(.active) {
    background: linear-gradient(180deg, #f3f6fb 0%, #dbe2ec 100%);
    border-color: #c7d0dd;
    color: #111827;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 8px 18px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.vcourt-user-panel-inline-nav .vcourt-customer-tab.active {
    background: linear-gradient(180deg, #2a69bf 0%, #1c5bab 100%);
    border-color: #1c5bab;
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 10px 24px rgba(28, 91, 171, 0.32);
}

.vcourt-user-panel-inline-nav .vcourt-customer-tab.active:hover {
    background: linear-gradient(180deg, #2460b3 0%, #174b8d 100%);
    border-color: #174b8d;
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 12px 26px rgba(23, 75, 141, 0.34);
    transform: translateY(-1px);
}

/* Match wallet sub-tabs/buttons to main panel menu tab style */
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subtab,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pack-switch-btn {
    min-height: 34px !important;
    padding: 8px 9px !important;
    border-radius: 14px !important;
    border: 1px solid #d1d5db !important;
    background: linear-gradient(180deg, #eef2f7 0%, #e5e7eb 100%) !important;
    color: #6b7280 !important;
    font-size: 10.2px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 4px 12px rgba(15, 23, 42, 0.12) !important;
    transition:
        background 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-head-cta {
    min-height: 34px !important;
    padding: 8px 9px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #0f4f9e !important;
    color: #ffffff !important;
    font-size: 10.2px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow:
        0 10px 20px rgba(15, 79, 158, 0.42) !important;
    transition:
        background 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-head-cta:hover {
    background: #0b3f7f !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    box-shadow:
        0 14px 26px rgba(15, 79, 158, 0.48) !important;
    transform: translateY(-1px);
}

/* Right-align all wallet subtab titles/content headings */
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subtab,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel h3,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel h4,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel h5,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-widget-header,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-widget-header h3,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-widget-header h4,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-customer-pane-head,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-customer-pane-head h4,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-customer-pane-head p {
    text-align: right !important;
    direction: rtl;
}

/* Unify wallet subtab section headings with purchase-history style (title + underline). */
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-customer-smart-card > h5,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-wallet-purchase-card-head h5 {
    margin: 0 0 10px !important;
    padding-bottom: 9px !important;
    border-bottom: 1px solid #e7eef8 !important;
    color: #0f172a !important;
    position: relative;
    text-align: right !important;
    direction: rtl;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-customer-smart-card > h5::after,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subpanel .vcourt-wallet-purchase-card-head h5::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 74px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.45), rgba(37, 99, 235, 0));
}

@media (max-width: 1024px) {
    .vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subtab,
    .vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pack-switch-btn {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
        min-height: 28px !important;
        padding: 7px 8px !important;
        font-size: 8.4px !important;
    }

    .vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-head-cta {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
        min-height: 28px !important;
        padding: 7px 8px !important;
        font-size: 8.4px !important;
    }
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subtab:not(.active):hover,
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pack-switch-btn:not(.is-active):hover {
    background: linear-gradient(180deg, #f3f6fb 0%, #dbe2ec 100%) !important;
    border-color: #c7d0dd !important;
    color: #111827 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 8px 18px rgba(15, 23, 42, 0.18) !important;
    transform: translateY(-1px);
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subtab.active {
    background: linear-gradient(
        135deg,
        #2a69bf 0%,
        #1c5bab 100%
    ) !important;
    border-color: #1c5bab !important;
    color: #ffffff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 10px 24px rgba(28, 91, 171, 0.32) !important;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-subtab.active:hover {
    background: linear-gradient(180deg, #2460b3 0%, #174b8d 100%) !important;
    border-color: #174b8d !important;
    color: #ffffff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 12px 26px rgba(23, 75, 141, 0.34) !important;
    transform: translateY(-1px);
}

.vcourt-user-panel-inline-nav .vcourt-customer-tab > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Keep customer header tabs font 20% smaller, even against shared shortcode styles. */
.vcourt-user-panel-hero-wrap .vcourt-user-panel-inline-nav .vcourt-customer-tab {
    font-size: 12px !important;
}

.vcourt-user-panel-inline-nav .vcourt-user-panel-inline-logout {
    border-color: #dc2626 !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 10px 24px rgba(220, 38, 38, 0.3) !important;
}

.vcourt-user-panel-inline-nav .vcourt-user-panel-inline-logout:hover {
    border-color: #b91c1c !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 12px 26px rgba(185, 28, 28, 0.34) !important;
}

/* Wallet title/subtitle polish */
.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-head-titlebox {
    width: 100%;
    max-width: 100%;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid #e4ebf5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.065);
    text-align: right;
    direction: rtl;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pane-head h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: #0f172a !important;
    text-align: right;
    direction: rtl;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pane-head h4::after {
    content: none;
    display: none;
}

.vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pane-head p {
    margin: 6px 0 0;
    font-size: 12.5px;
    line-height: 1.75;
    font-weight: 500;
    color: #64748b !important;
    text-align: right;
    direction: rtl;
}

@media (max-width: 767px) {
    .vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-head-titlebox {
        width: 100%;
        margin-inline-start: 0;
        margin-inline-end: 0;
        padding: 11px;
        border-radius: 12px;
    }

    .vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pane-head h4 {
        font-size: 18px;
    }

    .vcourt-user-panel-layout--customer-inline-nav .vcourt-wallet-pane-shell.vcourt-wallet-modern .vcourt-wallet-pane-head p {
        font-size: 11px;
        line-height: 1.7;
    }
}

.vcourt-user-panel-sidebar,
.vcourt-user-panel-content,
.vcourt-user-panel-auth-card {
    background: linear-gradient(160deg, rgba(6, 20, 48, 0.9), rgba(4, 15, 34, 0.88));
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    padding: 14px;
    color: #dbeafe;
}

.vcourt-user-panel-auth-shell .vcourt-user-panel-auth-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #1e1b2f;
    padding: 34px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.vcourt-user-panel-auth-shell .vcourt-user-panel-auth-card h3 {
    margin: 0;
    color: #000;
    font-size: clamp(20px, 1.7vw, 28px);
    line-height: 1.15;
    font-weight: 800;
}

.vcourt-user-panel-auth-subtitle {
    margin: 0 0 8px;
    color: #000 !important;
    font-size: 13px;
    line-height: 1.55;
    opacity: 1 !important;
}

.vcourt-user-panel-sidebar-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.vcourt-user-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vcourt-user-panel-nav-group-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #93c5fd;
    margin-top: 6px;
    margin-bottom: 2px;
    padding-right: 4px;
}

.vcourt-user-panel-tab,
.vcourt-user-panel-logout,
.vcourt-user-panel-logout-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.48);
    color: #dbeafe;
    text-decoration: none;
    min-height: 40px;
    padding: 0 12px;
    transition: all 0.2s ease;
}

.vcourt-user-panel-tab:hover,
.vcourt-user-panel-logout:hover,
.vcourt-user-panel-logout-inline:hover {
    border-color: #60a5fa;
    color: #fff;
}

.vcourt-user-panel-tab.is-active {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: transparent;
    color: #fff;
}

.vcourt-user-panel-logout {
    margin-top: 12px;
}

.vcourt-user-panel-form {
    display: grid;
    gap: 6px;
}

.vcourt-user-panel-form label {
    font-size: 13px;
    color: #000;
    font-weight: 700;
}

/* Keep auth form layout stable even when theme form styles are aggressive. */
.vcourt-user-panel-auth-card .vcourt-user-panel-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form label {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 2px !important;
    text-align: right !important;
    line-height: 1.35 !important;
    color: #000 !important;
    opacity: 1 !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form label span {
    color: #dc2626 !important;
    font-weight: 800 !important;
    margin-right: 4px !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form label .vcourt-register-label-note {
    color: #000 !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    margin-right: 4px !important;
}

.vcourt-user-panel-form input,
.vcourt-user-panel-form select,
.vcourt-user-panel-form textarea,
.vcourt-user-panel-form button {
    width: 100%;
    min-height: 46px;
    border-radius: 9px;
    border: 1px solid #c5cedd;
    box-sizing: border-box;
}

.vcourt-user-panel-form input,
.vcourt-user-panel-form select,
.vcourt-user-panel-form textarea {
    background: #fff;
    color: #000;
    padding: 9px 12px;
}

.vcourt-user-panel-form input::placeholder,
.vcourt-user-panel-form textarea::placeholder {
    color: #9098ab;
}

.vcourt-user-panel-form button {
    background: #1c5bab;
    border-color: #1c5bab;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form input,
.vcourt-user-panel-auth-card .vcourt-user-panel-form select,
.vcourt-user-panel-auth-card .vcourt-user-panel-form textarea,
.vcourt-user-panel-auth-card .vcourt-user-panel-form button {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    margin: 0 !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form input,
.vcourt-user-panel-auth-card .vcourt-user-panel-form select,
.vcourt-user-panel-auth-card .vcourt-user-panel-form textarea {
    color: #000 !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form select {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 9px !important;
    min-height: 46px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important;
    background-size: 10px 7px !important;
    padding-left: 32px !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form select:focus {
    border-color: #000 !important;
    outline: none !important;
    box-shadow: none !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form select option {
    background: #fff !important;
    color: #000 !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form input.is-error,
.vcourt-user-panel-auth-card .vcourt-user-panel-form select.is-error,
.vcourt-user-panel-auth-card .vcourt-user-panel-form textarea.is-error,
.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-profile-jdate-input.is-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.1) !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form input::placeholder,
.vcourt-user-panel-auth-card .vcourt-user-panel-form textarea::placeholder {
    color: #000 !important;
    opacity: 1 !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-register-input-mobile::placeholder,
.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-register-input-national_code::placeholder {
    color: #9ca3af !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form input[name="mobile"]::placeholder {
    color: #9ca3af !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-user-panel-hint-link {
    margin-top: 6px !important;
    font-weight: 600;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-register-submit {
    margin-top: 12px !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form button[type="submit"] {
    margin-top: 12px !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-register-field-error {
    color: #dc2626 !important;
    font-size: 12px !important;
    margin: 2px 0 0 !important;
    display: block !important;
    font-weight: 600 !important;
}

.vcourt-user-panel-alert,
.vcourt-user-panel-info,
.vcourt-user-panel-empty,
.vcourt-user-panel-placeholder {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #f2f0f8;
    color: #2a253d;
}

.vcourt-user-panel-alert {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vcourt-user-panel-alert-text {
    flex: 1 1 auto;
}

.vcourt-user-panel-alert-close {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(15, 23, 42, 0.45);
    color: #e2e8f0;
    line-height: 1;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .vcourt-user-panel-layout {
        grid-template-columns: 1fr;
        padding-inline: 10px;
    }

    .vcourt-user-panel-layout.vcourt-user-panel-layout--customer-inline-nav {
        gap: 12px;
        padding-inline: 10px;
    }

    .vcourt-user-panel-auth-wrap {
        margin-bottom: 140px;
        position: relative;
        z-index: 2;
    }

    .vcourt-user-panel-auth-wrap.is-login {
        margin-bottom: 220px;
    }

    .vcourt-user-panel-auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        overflow: hidden;
        border-radius: 28px;
    }

    .vcourt-user-panel-auth-cover {
        min-height: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
        order: -1;
        border-radius: 28px 28px 0 0;
    }

    .vcourt-user-panel-auth-shell .vcourt-user-panel-auth-card {
        padding: 26px 18px;
        border-radius: 0 0 28px 28px;
    }

    .vcourt-user-panel-auth-card .vcourt-user-panel-form label {
        font-size: 11px !important;
    }

    .vcourt-user-panel-auth-card .vcourt-user-panel-form input,
    .vcourt-user-panel-auth-card .vcourt-user-panel-form select,
    .vcourt-user-panel-auth-card .vcourt-user-panel-form textarea {
        font-size: 12px !important;
    }

    .vcourt-user-panel-auth-card .vcourt-user-panel-form input::placeholder,
    .vcourt-user-panel-auth-card .vcourt-user-panel-form textarea::placeholder,
    .vcourt-user-panel-auth-card .vcourt-user-panel-form select {
        font-size: 12px !important;
    }

    .vcourt-user-panel-hero-wrap {
        order: 1;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-main {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-identity {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-text {
        width: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 6px;
        align-items: center;
        gap: 8px;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-text h3 {
        font-size: 9px;
        line-height: 1.2;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-avatar img {
        width: 48px !important;
        height: 48px !important;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-badge {
        min-height: 25px;
        padding: 3px 6px;
        gap: 2px;
        width: 88px;
        min-width: 88px;
        max-width: 88px;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-stars {
        font-size: 5.8px;
    }

    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-level-text {
        font-size: 4.9px;
    }


    .vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-actions {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .vcourt-user-panel-hero-wrap .vcourt-user-panel-header-logout {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        border-color: #dc2626;
        background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    }

    .vcourt-user-panel-hero-wrap .vcourt-user-panel-header-logout-icon {
        width: 16px;
        height: 16px;
        filter: brightness(0) invert(1);
    }

    .vcourt-user-panel-sidebar {
        order: 3;
    }

    .vcourt-user-panel-content {
        order: 2;
    }

    .vcourt-user-panel-inline-nav {
        margin-top: 2px;
        padding: 1px;
        --vcourt-tabs-gap: 6px;
        min-width: max-content;
    }

    .vcourt-user-panel-inline-nav .vcourt-customer-tab {
        width: 95px;
        min-width: 95px;
        max-width: 95px;
        min-height: 28px;
        padding: 7px 8px;
        font-size: 8.4px;
    }

    .vcourt-user-panel-hero-wrap .vcourt-user-panel-inline-nav .vcourt-customer-tab {
        font-size: 8.4px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .vcourt-user-panel-auth-shell {
        grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.95fr);
        min-height: 560px;
    }

    .vcourt-user-panel-auth-cover {
        min-height: 560px;
        aspect-ratio: auto;
        order: 0;
    }

    .vcourt-user-panel-auth-shell .vcourt-user-panel-auth-card {
        padding: 30px 24px;
    }

    .vcourt-user-panel-layout.vcourt-user-panel-layout--customer-inline-nav {
        padding-inline: 11px;
    }

    .vcourt-user-panel-inline-nav {
        --vcourt-tabs-gap: 7px;
    }

    .vcourt-user-panel-inline-nav .vcourt-customer-tab {
        width: 95px;
        min-width: 95px;
        max-width: 95px;
        min-height: 28px;
        padding: 7px 8px;
        font-size: 8.4px;
    }

    .vcourt-user-panel-hero-wrap .vcourt-user-panel-inline-nav .vcourt-customer-tab {
        font-size: 8.4px !important;
    }
}

.vcourt-customer-profile-wrap {
    display: grid;
    gap: 14px;
}

.vcourt-user-panel-alert-success {
    background: #ecfdf3;
    border: 1px solid #86efac;
}

.vcourt-user-panel-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.vcourt-customer-profile-accordion {
    border: 1px solid rgba(71, 85, 105, 0.38);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(10, 19, 41, 0.9));
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.15);
}

.vcourt-customer-profile-acc-btn {
    width: 100%;
    min-height: 50px;
    border: 0;
    background: rgba(15, 23, 42, 0.4);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.vcourt-customer-profile-acc-btn i {
    font-style: normal;
    transition: transform 0.2s ease;
}

.vcourt-customer-profile-acc-btn.is-open i {
    transform: rotate(180deg);
}

.vcourt-customer-profile-acc-panel {
    display: none;
    padding: 14px;
    border-top: 1px solid rgba(71, 85, 105, 0.35);
}

.vcourt-customer-profile-acc-panel.is-open {
    display: block;
}

.vcourt-customer-profile-form {
    display: grid;
    gap: 14px;
}

.vcourt-profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vcourt-profile-avatar-preview {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.4);
}

.vcourt-profile-avatar-actions {
    display: grid;
    gap: 8px;
}

.vcourt-profile-upload-btn {
    cursor: pointer;
    width: fit-content;
}

.vcourt-profile-remove-btn {
    cursor: pointer;
    width: fit-content;
    background: rgba(185, 28, 28, 0.26) !important;
    border-color: rgba(248, 113, 113, 0.48) !important;
    color: #fecaca !important;
}

.vcourt-profile-avatar-actions small {
    color: #94a3b8;
    font-size: 12px;
}

.vcourt-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vcourt-profile-field {
    display: grid;
    gap: 6px;
}

.vcourt-profile-field label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

.vcourt-profile-field label span {
    color: #fca5a5;
    margin-right: 4px;
}

.vcourt-profile-field small {
    color: #94a3b8;
    font-size: 12px;
}

.vcourt-profile-field input,
.vcourt-profile-field select,
.vcourt-profile-pref-form .vcourt-input,
.vcourt-profile-pref-form .vcourt-btn {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.62);
    color: #e2e8f0;
    padding: 0 12px;
    box-sizing: border-box;
    width: 100%;
}

.vcourt-profile-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.vcourt-profile-input-wrap {
    position: relative;
}

.vcourt-profile-input-wrap.has-lock input {
    padding-left: 34px;
}

.vcourt-profile-input-wrap.has-lock select {
    padding-left: 34px;
}

.vcourt-password-wrap input {
    padding-left: 40px;
}

.vcourt-password-wrap::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0 1 12 19C5.8 19 2 12 2 12a21.74 21.74 0 0 1 5.06-6.94'/%3E%3Cpath d='M9.9 4.24A10.93 10.93 0 0 1 12 5c6.2 0 10 7 10 7a21.7 21.7 0 0 1-3.17 4.48'/%3E%3Cpath d='M14.12 14.12A3 3 0 0 1 9.88 9.88'/%3E%3Cpath d='m1 1 22 22'/%3E%3C/svg%3E");
}

.vcourt-password-wrap:has(.vcourt-profile-pass-toggle.is-open)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.8-7 10-7 10 7 10 7-3.8 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.vcourt-profile-pass-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

.vcourt-user-panel-form .vcourt-profile-pass-toggle {
    width: 22px !important;
    min-height: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.vcourt-user-panel-auth-card .vcourt-user-panel-form .vcourt-profile-pass-toggle {
    display: inline-flex !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    height: 22px !important;
    clear: none !important;
    line-height: 1 !important;
    left: 10px !important;
    right: auto !important;
}

.vcourt-user-panel-auth-card .vcourt-profile-pass-toggle {
    opacity: 1;
}

.vcourt-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.vcourt-profile-lock-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    opacity: 0.86;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vcourt-profile-lock-icon::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}

.vcourt-profile-date-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.vcourt-profile-jdate-open {
    min-width: 110px;
}

.vcourt-profile-jdate-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.vcourt-profile-jdate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
}

.vcourt-profile-jdate-card {
    position: relative;
    width: min(360px, calc(100vw - 24px));
    margin: 8vh auto 0;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(9, 17, 36, 0.95));
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.5);
    padding: 12px;
}

.vcourt-profile-jdate-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.vcourt-profile-jdate-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vcourt-profile-jdate-controls select {
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.62);
    color: #e2e8f0;
    padding: 0 10px;
    font-size: 13px;
}

.vcourt-profile-jdate-year {
    min-width: 96px;
}

.vcourt-profile-jdate-month {
    min-width: 110px;
}

.vcourt-profile-jdate-nav {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.62);
    color: #e2e8f0;
    cursor: pointer;
}

.vcourt-profile-jdate-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 6px;
}

.vcourt-profile-jdate-week span {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.vcourt-profile-jdate-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.vcourt-profile-jdate-day {
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(71, 85, 105, 0.45);
    background: rgba(15, 23, 42, 0.62);
    color: #e2e8f0;
    cursor: pointer;
}

.vcourt-profile-jdate-day.is-empty {
    opacity: 0.3;
    cursor: default;
}

.vcourt-profile-jdate-day.is-active {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: transparent;
    color: #fff;
}

.vcourt-profile-jdate-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.vcourt-profile-field input::placeholder,
.vcourt-profile-pref-form .vcourt-input::placeholder {
    color: rgba(203, 213, 225, 0.55);
}

.vcourt-profile-submit-wrap {
    display: flex;
    justify-content: flex-end;
}

.vcourt-profile-pref-form {
    display: grid;
    gap: 10px;
}

@media (max-width: 900px) {
    .vcourt-profile-grid {
        grid-template-columns: 1fr;
    }

    .vcourt-profile-avatar-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .vcourt-profile-submit-wrap {
        justify-content: stretch;
    }

    .vcourt-profile-submit-wrap .vcourt-user-panel-tab {
        width: 100%;
    }
}

/* White surface only for main panel wrapper (no descendant styling) */
body .vcourt-user-panel-layout {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

body .vcourt-user-panel-layout::before,
body .vcourt-user-panel-layout::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vcourt-user-panel-sidebar {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.vcourt-user-panel-sidebar .vcourt-user-panel-sidebar-title {
    color: #0f172a;
}

.vcourt-user-panel-sidebar .vcourt-user-panel-nav-group-title {
    color: #64748b;
}

.vcourt-user-panel-sidebar .vcourt-user-panel-tab,
.vcourt-user-panel-sidebar .vcourt-user-panel-logout,
.vcourt-user-panel-sidebar .vcourt-user-panel-logout-inline {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    color: #334155;
}

.vcourt-user-panel-sidebar .vcourt-user-panel-tab:hover,
.vcourt-user-panel-sidebar .vcourt-user-panel-logout:hover,
.vcourt-user-panel-sidebar .vcourt-user-panel-logout-inline:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
}

.vcourt-user-panel-sidebar .vcourt-user-panel-tab.is-active {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: #2563eb;
    color: #ffffff;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero::after {
    background: radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 50%);
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-avatar img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 999px !important;
    object-fit: cover;
    display: block;
    border-color: #cbd5e1;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-text h3,
.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-text p {
    color: #0f172a;
}

.vcourt-user-panel-hero-wrap .vcourt-customer-tabs-hero-text small {
    color: #64748b;
}

.vcourt-user-panel-content {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
    body .vcourt-user-panel-layout {
        max-width: 100%;
        padding: 0;
    }

    .vcourt-user-panel-content {
        max-width: 100%;
        border-radius: 14px;
        padding: 10px;
    }

    /* Player network KPI chips on mobile: match operator bookings chip typography */
    .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="player_network"] .vcourt-player-network-subtabs .vcourt-op-wallet-chip-text strong,
    .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="player_network"] .vcourt-player-network-subtabs .vcourt-player-network-subtab-copy strong {
        font-size: 30px !important;
        line-height: 1.05 !important;
        font-weight: 900 !important;
    }

    .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="player_network"] .vcourt-player-network-subtabs .vcourt-op-wallet-chip-text small,
    .vcourt-customer-tabs-panel .vcourt-customer-tab-pane[data-pane="player_network"] .vcourt-player-network-subtabs .vcourt-player-network-subtab-copy small {
        font-size: 8px !important;
        line-height: 1.2 !important;
    }
}
