﻿@import url("../css/style.css");

:root {
    --user-cyan: #18d7c1;
    --user-cyan-soft: rgba(24, 215, 193, 0.16);
    --user-cyan-glow: rgba(24, 215, 193, 0.36);
    --user-dark: #04131c;
    --user-dark-2: #071f2d;
    --cx-card-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
    --cx-soft-border: rgba(148, 163, 184, 0.28);
}

.customer-experience-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0%, rgba(56, 123, 206, 0.16), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(24, 215, 193, 0.13), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #edf4fb 48%, #eaf1f8 100%);
}

.page-shell,
.user-page-shell,
.staff-page-shell {
    padding-top: 12px;
}

.phone-shell,
.user-phone,
.staff-phone {
    filter: drop-shadow(0 28px 58px rgba(15, 23, 42, 0.12));
}

.phone-frame {
    width: 100%;
    border-color: rgba(15, 23, 42, 0.92);
    box-shadow: var(--cx-card-shadow);
}

.phone-frame.light {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,248,252,0.96) 100%);
}

.screen-body,
.staff-screen {
    min-height: inherit;
}

.user-page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 36px;
}

.user-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

.user-compare-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

.user-index-grid {
    display: grid;
    gap: 16px;
}

.user-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

    .user-card-link strong,
    .user-card-link span {
        display: block;
    }

    .user-card-link span {
        margin-top: 4px;
        color: var(--muted);
        font-size: 0.92rem;
    }

    .user-card-link em {
        font-style: normal;
        color: var(--primary);
        font-weight: 700;
    }

.user-phone {
    width: min(100%, 390px);
    margin: 0 auto;
}

    .user-phone .phone-frame {
        min-height: 844px;
    }

    .user-phone .screen-body {
        padding-top: 26px;
    }

.user-hero-title {
    margin: 18px 0 0;
    font-size: 2rem;
    line-height: 1.02;
    text-align: center;
}

.user-intro-card {
    border-radius: 24px;
    padding: 22px 16px 16px;
    border: 1px solid #c7d8e7;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    box-shadow: 0 12px 28px rgba(26, 48, 79, 0.1);
}

    .user-intro-card .brand-chip {
        margin: 0 auto;
        display: inline-flex;
    }

.lang-panel {
    margin-top: 24px;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #cbd9e7;
    background: #f8fbfe;
}

.lang-panel-head {
    margin-bottom: 10px;
    min-height: 34px;
    border-radius: 10px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(180deg, #2f73c9 0%, #225fae 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.lang-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lang-choice {
    min-height: 70px;
    border-radius: 12px;
    border: 1px solid #b7cadb;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--primary-deep);
    font-weight: 800;
}

    .lang-choice.active {
        background: linear-gradient(180deg, #edf5ff 0%, #dbeaff 100%);
        border-color: #7ea8db;
    }

.intro-copy {
    margin-top: 46px;
    text-align: center;
}

    .intro-copy p {
        margin: 0;
        line-height: 1.7;
        color: #25384c;
    }

        .intro-copy p + p {
            margin-top: 6px;
        }

.sticky-bottom {
    margin-top: 34px;
}

.login-title {
    margin: 24px 0 0;
    text-align: center;
    font-size: 2rem;
}

.login-stack {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.social-btn,
.email-login-btn {
    min-height: 48px;
    border-radius: 12px;
    border: 0;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #2f73c9 0%, #215faa 100%);
    color: #fff;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 20px rgba(47, 115, 201, 0.18);
}

    .social-btn small,
    .email-login-btn small {
        display: block;
        font-size: 0.82rem;
        line-height: 1.2;
    }

.social-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 800;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 2px;
    color: var(--muted);
    font-size: 0.84rem;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #c5d3df;
    }

.info-form-card {
    border-radius: 24px;
    padding: 18px 16px 16px;
    border: 1px solid var(--cx-soft-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,249,253,0.98) 100%);
    box-shadow: 0 16px 36px rgba(26, 48, 79, 0.12);
}

    .info-form-card.dark {
        border-color: rgba(24, 215, 193, 0.35);
        background: radial-gradient(circle at top center, rgba(24, 215, 193, 0.12), transparent 28%), linear-gradient(180deg, #04131c 0%, #071f2d 100%);
        box-shadow: 0 0 0 2px rgba(24, 215, 193, 0.18), 0 0 34px rgba(24, 215, 193, 0.18), 0 16px 36px rgba(0, 0, 0, 0.34);
        color: #f1fbff;
    }

.info-title {
    margin: 4px 0 8px;
    font-size: 1.36rem;
    text-align: center;
}

.info-helper {
    margin: 0;
    text-align: center;
    color: var(--muted);
    line-height: 1.5;
}

.info-form-card.dark .info-helper,
.info-form-card.dark .user-field label,
.info-form-card.dark .checkbox-text,
.info-form-card.dark .check-list-label {
    color: rgba(241, 251, 255, 0.82);
}

.user-form {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.user-field {
    display: grid;
    gap: 6px;
}

    .user-field label {
        font-size: 0.84rem;
        font-weight: 700;
        color: #2e4457;
    }

.user-input,
.user-otp-box {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #c7d8e7;
    background: #ffffff;
    padding: 0 12px;
    color: var(--text);
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.user-input:focus,
.staff-input:focus,
.staff-select:focus,
.staff-textarea:focus {
    outline: 0;
    border-color: rgba(47, 115, 201, 0.65);
    box-shadow: 0 0 0 4px rgba(47, 115, 201, 0.12);
}

.user-field-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.otp-send-btn {
    min-width: 75px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #9ebde0;
    background: #eff5fd;
    color: var(--primary-deep);
    font-weight: 700;
    font-size: 12px
}

.games-panel {
    display: grid;
    gap: 8px;
}

.check-list-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #2e4457;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.check-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
}

    .check-item input {
        width: 14px;
        height: 14px;
        margin: 0;
        accent-color: var(--primary);
    }

.checkbox-text {
    color: #203040;
}

.info-form-card.dark .user-input,
.info-form-card.dark .user-otp-box {
    border-color: rgba(24, 215, 193, 0.55);
    background: rgba(8, 32, 45, 0.84);
    color: #effdff;
    box-shadow: inset 0 0 0 1px rgba(24, 215, 193, 0.12);
}

.info-form-card.dark .otp-send-btn {
    border-color: rgba(24, 215, 193, 0.72);
    background: linear-gradient(180deg, rgba(8, 49, 67, 0.96) 0%, rgba(6, 38, 52, 0.96) 100%);
    color: #1effd5;
    box-shadow: 0 0 14px rgba(24, 215, 193, 0.16);
}

.info-form-card.dark .check-item input {
    accent-color: var(--user-cyan);
}

.info-form-card.dark .checkbox-text {
    color: #e6fbff;
}

.neon-action {
    background: linear-gradient(180deg, #17d4bc 0%, #16e3a7 100%);
    color: #042319;
    box-shadow: 0 0 18px rgba(24, 215, 193, 0.4);
}

.caption-note {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.ticket-screen-card {
    border-radius: 24px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /*background: radial-gradient(circle at top center, rgba(136, 71, 255, 0.12), transparent 20%), linear-gradient(180deg, rgba(8, 19, 36, 0.96) 0%, rgba(10, 27, 46, 0.98) 100%);*/
    /*color: #f2f7ff;*/
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.3);
}

.ticket-screen-topbar {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

    .ticket-screen-topbar .back-link {
        color: rgba(255, 255, 255, 0.92);
    }

    .ticket-screen-topbar strong {
        font-size: 0.98rem;
    }

.ticket-highlight {
    color: #f6c549;
}

.ticket-qr-panel {
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 0 24px rgba(255, 255, 255, 0.02);
}

.qr-ticket-wrap {
    display: grid;
    grid-template-columns: 26px 1fr 26px;
    gap: 10px;
    align-items: center;
}

.qr-side-icons {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.qr-side-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 46%), rgba(255, 255, 255, 0.05);
}

.neon-qr-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(251, 103, 224, 0.14) 0%, rgba(120, 79, 255, 0.14) 50%, rgba(35, 233, 169, 0.16) 100%), rgba(11, 23, 39, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 2px rgba(20, 255, 190, 0.24), 0 0 22px rgba(20, 255, 190, 0.2);
}

.neon-qr {
    width: 100%; 
    max-width: 300px; 
    aspect-ratio: 1 / 1; 
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

    .neon-qr img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.ticket-qr-copy {
    margin-top: 12px;
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.5;
}

    .ticket-qr-copy strong {
        display: block;
        color: #ffffff;
    }

    .ticket-qr-copy span {
        display: block;
        margin-top: 2px;
        color: #ff8a7b;
    }

.ticket-action-row {
    position: relative;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ticket-dark-btn {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 700;
}

.ticket-arrow-note {
    position: absolute;
    left: -10px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 42px solid #ef4f4f;
    transform: rotate(58deg);
    filter: drop-shadow(0 4px 10px rgba(239, 79, 79, 0.28));
}

.ticket-user-meta {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.ticket-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    line-height: 1.45;
}

    .ticket-meta-row .meta-bullet {
        width: 10px;
        height: 10px;
        border-radius: 3px;
        background: linear-gradient(180deg, #ffd86f 0%, #f3b735 100%);
        flex: 0 0 auto;
    }

        .ticket-meta-row .meta-bullet.user {
            border-radius: 50%;
            background: linear-gradient(180deg, #c7d6e5 0%, #8da4bd 100%);
        }

.ticket-day-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ticket-day-card {
    border-radius: 12px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

    .ticket-day-card strong,
    .ticket-day-card span,
    .ticket-day-card small {
        display: block;
    }

    .ticket-day-card strong {
        color: #d6ff84;
        font-size: 0.76rem;
    }

    .ticket-day-card span {
        margin-top: 4px;
        color: #ffffff;
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .ticket-day-card small {
        margin-top: 8px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.72rem;
        line-height: 1.35;
    }

@media (min-width: 900px) {
    .user-grid {
        grid-template-columns: 390px minmax(320px, 1fr);
    }

    .user-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .user-compare-grid {
        grid-template-columns: minmax(320px, 390px) minmax(320px, 390px) minmax(260px, 1fr);
    }
}

@media (max-width: 480px) {
    .user-page-shell {
        width: min(100%, calc(100% - 20px));
        padding-top: 18px;
    }

    .lang-choice-grid,
    .check-grid,
    .user-field-row,
    .user-index-grid {
        grid-template-columns: 1fr;
    }

    .ticket-day-grid,
    .ticket-action-row {
        grid-template-columns: 1fr;
    }

    .user-phone .phone-frame {
        min-height: auto;
    }
}

.brand-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.brand-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-banner {
    width: 100%;
    margin: 16px 0 18px;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

    .user-banner img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

.event-hero,
.checkin-item,
.ticket-panel,
.map-panel,
.history-card,
.staff-panel,
.staff-event-card,
.staff-result-copy,
.staff-inline-stats,
.staff-scan-card {
    border-color: var(--cx-soft-border);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.staff-screen {
    padding: 18px 14px;
    background:
        radial-gradient(circle at top, rgba(47, 115, 201, 0.11), transparent 32%),
        linear-gradient(180deg, #f9fbfd 0%, #eef5fb 100%);
}

.staff-panel {
    border-radius: 20px;
    padding: 16px;
    border-color: var(--cx-soft-border);
    background: rgba(255, 255, 255, 0.96);
}

.staff-panel.tight {
    padding: 14px;
}

.staff-form-group {
    border-color: #d8e4ef;
    border-radius: 16px;
    padding: 12px;
    background: #f8fbfe;
    margin-top: 12px;
}

.staff-login-brand {
    margin-top: clamp(18px, 8vh, 72px);
}

.staff-login-stack,
.staff-login-actions {
    margin-top: clamp(18px, 6vh, 56px);
}

.staff-input,
.staff-select,
.staff-inline-note,
.staff-password-box,
.staff-textarea {
    min-height: 44px;
    border-radius: 12px;
    border-color: #c7d8e7;
    background: #fff;
}

.staff-btn,
.staff-btn-secondary,
.staff-btn-danger,
.staff-btn-ghost,
.secondary-btn,
.outline-btn,
.light-btn {
    min-height: 44px;
    border-radius: 14px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.primary-btn {
    text-transform: uppercase;
}

    .staff-btn:hover,
    .staff-btn-secondary:hover,
    .staff-btn-danger:hover,
    .staff-btn-ghost:hover,
    .secondary-btn:hover,
    .outline-btn:hover,
    .light-btn:hover {
        transform: translateY(-1px);
    }

.cx-action-grid {
    margin-top: 12px;
    row-gap: 10px;
}

.cx-stack-gap {
    margin-top: 14px;
}

@media (max-width: 576px) {
    .page-shell,
    .user-page-shell,
    .staff-page-shell {
        width: min(100%, calc(100% - 16px));
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .phone-frame {
        border: 0;
        border-radius: 24px;
        min-height: auto;
    }

    .screen-body,
    .staff-screen {
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand-chip {
        font-size: 13px;
        padding: 7px 12px;
    }

    .brand-icon {
        width: 22px;
        height: 22px;
    }

    .user-banner {
        margin: 14px 0 16px;
        border-radius: 14px;
    }

        .user-banner img {
            aspect-ratio: 4 / 3;
        }
}

/* WebApp responsive mode: Customer + Staff pages are real web layouts, not phone mockups. */
.cx-webapp-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 14px clamp(12px, 2vw, 28px) 0;
}

.cx-navbar {
    width: min(1240px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 24px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
}

.cx-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #102a43;
    margin-right: 18px;
}

.cx-brand:hover {
    color: var(--primary-deep);
}

.cx-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2f73c9 0%, #18d7c1 100%);
    box-shadow: 0 12px 26px rgba(47, 115, 201, 0.22);
}

.cx-brand strong,
.cx-brand small {
    display: block;
    line-height: 1.1;
}

.cx-brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.cx-nav-pills {
    gap: 6px;
}

.cx-nav-pills .nav-link {
    border-radius: 999px;
    padding: 9px 14px;
    color: #36516d;
    font-weight: 800;
}

.cx-nav-pills .nav-link:hover,
.cx-nav-pills .nav-link:focus {
    color: var(--primary-deep);
    background: #edf5ff;
}

.cx-nav-pills .cx-logout-link {
    color: #b42318;
    background: #fff1f0;
}

.cx-nav-pills .cx-logout-link:hover,
.cx-nav-pills .cx-logout-link:focus {
    color: #8f1d14;
    background: #ffe4e1;
}

.cx-navbar-toggler {
    border: 0;
    border-radius: 12px;
    background: #eef6ff;
}

.cx-navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(47, 115, 201, 0.16);
}

.cx-navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 39, 64, 0.86%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.customer-experience-body .page-shell,
.customer-experience-body .user-page-shell,
.customer-experience-body .staff-page-shell,
.customer-experience-body .gallery-shell {
    width: min(1240px, calc(100% - 32px));
    padding: clamp(18px, 3vw, 34px) 0 clamp(28px, 4vw, 56px);
}

.customer-experience-body .page-grid,
.customer-experience-body .user-grid,
.customer-experience-body .user-compare-grid,
.customer-experience-body .staff-grid,
.customer-experience-body .staff-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2vw, 28px);
    align-items: stretch;
}

.customer-experience-body .staff-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-experience-body .phone-shell,
.customer-experience-body .user-phone,
.customer-experience-body .staff-phone {
    width: 100%;
    max-width: none;
    margin: 0;
    filter: none;
}

.customer-experience-body .phone-frame,
.customer-experience-body .phone-frame.light,
.customer-experience-body .phone-frame.dark {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.customer-experience-body .phone-notch {
    display: none;
}

.customer-experience-body .screen-body,
.customer-experience-body .dark-screen-body,
.customer-experience-body .staff-screen {
    min-height: 0;
    padding: 0;
    background: transparent;
}

.customer-experience-body .user-intro-card,
.customer-experience-body .info-form-card,
.customer-experience-body .ticket-screen-card,
.customer-experience-body .ticket-panel,
.customer-experience-body .map-panel,
.customer-experience-body .history-card,
.customer-experience-body .light-panel,
.customer-experience-body .dark-card,
.customer-experience-body .scan-panel,
.customer-experience-body .staff-panel {
    width: 100%;
    border-radius: 28px;
    padding: clamp(18px, 2.5vw, 30px);
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    color: var(--text);
}

/*.customer-experience-body .ticket-screen-card,
.customer-experience-body .dark-card,
.customer-experience-body .scan-panel {
    background:
        radial-gradient(circle at top left, rgba(56, 123, 206, 0.2), transparent 28%),
        linear-gradient(135deg, #071f2d 0%, #102c4a 100%);*/
    /*color: #eef7ff;*/
/*}*/

.customer-experience-body .brand-wrap {
    text-align: left;
}

.customer-experience-body .brand-chip {
    min-height: 38px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.customer-experience-body .user-banner {
    border-radius: 24px;
}

    .customer-experience-body .user-banner img {
        width: 100%;
        height: 100%;
        aspect-ratio: 21 / 8;
        object-fit: contain;
    }

.customer-experience-body .login-title,
.customer-experience-body .user-hero-title,
.customer-experience-body .info-title,
.customer-experience-body .ticket-title,
.customer-experience-body .hero-title,
.customer-experience-body .staff-result-title {
    text-align: left;
    font-size: clamp(1.65rem, 3vw, 2.75rem);
    letter-spacing: -0.03em;
}

.customer-experience-body .login-stack,
.customer-experience-body .user-form,
.customer-experience-body .welcome-meta {
    max-width: 760px;
}

.customer-experience-body .social-btn,
.customer-experience-body .email-login-btn,
.customer-experience-body .primary-btn,
.customer-experience-body .secondary-btn,
.customer-experience-body .outline-btn,
.customer-experience-body .light-btn,
.customer-experience-body .staff-btn,
.customer-experience-body .staff-btn-secondary,
.customer-experience-body .staff-btn-danger,
.customer-experience-body .staff-btn-ghost {
    min-height: 48px;
    border-radius: 16px;
}

.customer-experience-body .event-hero {
    border-radius: 26px;
    padding: clamp(18px, 2.5vw, 28px);
}

.customer-experience-body .checkin-list,
.customer-experience-body .status-grid,
.customer-experience-body .reward-grid,
.customer-experience-body .ticket-day-grid,
.customer-experience-body .staff-zone-grid,
.customer-experience-body .staff-check-grid,
.customer-experience-body .staff-scan-actions,
.customer-experience-body .staff-bottom-actions,
.customer-experience-body .scan-task-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.customer-experience-body .checkin-item,
.customer-experience-body .status-card,
.customer-experience-body .reward-card,
.customer-experience-body .ticket-day-card,
.customer-experience-body .staff-zone-card,
.customer-experience-body .staff-check-item,
.customer-experience-body .staff-radio-item,
.customer-experience-body .scan-task,
.customer-experience-body .mini-card {
    border-radius: 18px;
    background: #fff;
}

.customer-experience-body .ticket-qr-panel {
    max-width: 720px;
    margin: 0 auto;
}

.customer-experience-body .neon-qr-frame {
    max-width: 430px;
    margin: 0 auto;
}

.customer-experience-body .qr-art {
    margin: 0 auto;
}

.customer-experience-body .map-layout {
    min-height: 520px;
    aspect-ratio: 16 / 9;
}

.customer-experience-body .staff-panel {
    min-height: 100%;
}

.customer-experience-body .staff-event-card,
.customer-experience-body .staff-scan-card,
.customer-experience-body .staff-result-copy,
.customer-experience-body .staff-history-head,
.customer-experience-body .staff-summary-box,
.customer-experience-body .staff-inline-stats {
    border-radius: 20px;
}

.customer-experience-body .staff-qr-card {
    border-radius: 24px;
    padding: clamp(18px, 2.5vw, 28px);
}

.customer-experience-body .staff-result-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.customer-experience-body .staff-result-icon {
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .customer-experience-body .info-form-card,
    .customer-experience-body .light-panel.welcome-card {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
        column-gap: clamp(22px, 4vw, 56px);
        align-items: center;
    }

    .customer-experience-body .user-intro-card:has(.user-banner) {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
        column-gap: clamp(22px, 4vw, 56px);
        align-items: center;
    }

    .customer-experience-body .user-intro-card:has(.user-banner) .brand-wrap,
    .customer-experience-body .user-intro-card:has(.user-banner) .user-hero-title,
    .customer-experience-body .user-intro-card:has(.user-banner) .lang-panel,
    .customer-experience-body .user-intro-card:has(.user-banner) .intro-copy,
    .customer-experience-body .user-intro-card:has(.user-banner) .sticky-bottom {
        grid-column: 2;
    }

    .customer-experience-body .user-intro-card:has(.user-banner) .user-banner {
        grid-column: 1;
        grid-row: 1 / span 5;
        margin: 0;
    }

    .customer-experience-body .info-form-card .brand-wrap,
    .customer-experience-body .info-form-card .user-banner {
        grid-column: 1;
    }

    .customer-experience-body .info-form-card .info-title,
    .customer-experience-body .info-form-card .info-helper,
    .customer-experience-body .info-form-card .user-form {
        grid-column: 2;
    }
}

@media (max-width: 991.98px) {
    .cx-webapp-header {
        padding: 10px 12px 0;
    }

    .cx-navbar {
        border-radius: 20px;
    }

    .cx-nav-pills {
        margin: 12px 0;
    }

    .customer-experience-body .staff-compare-grid {
        grid-template-columns: 1fr;
    }

    .customer-experience-body .map-layout {
        min-height: 420px;
    }
}

@media (max-width: 576px) {
    .customer-experience-body .page-shell,
    .customer-experience-body .user-page-shell,
    .customer-experience-body .staff-page-shell,
    .customer-experience-body .gallery-shell {
        width: min(100%, calc(100% - 18px));
    }

    .customer-experience-body .user-intro-card,
    .customer-experience-body .info-form-card,
    .customer-experience-body .ticket-screen-card,
    .customer-experience-body .ticket-panel,
    .customer-experience-body .map-panel,
    .customer-experience-body .history-card,
    .customer-experience-body .light-panel,
    .customer-experience-body .dark-card,
    .customer-experience-body .scan-panel,
    .customer-experience-body .staff-panel {
        border-radius: 22px;
        padding: 16px;
    }

    .customer-experience-body .user-banner img {
        aspect-ratio: 4/2;
    }

    .customer-experience-body .map-layout {
        min-height: 360px;
        aspect-ratio: 1 / 1.08;
    }

    .customer-experience-body .staff-result-wrap {
        display: grid;
        justify-items: center;
        text-align: center;
    }
}

.sticky-bottom .primary-btn:hover,
.sticky-bottom .primary-btn:focus {
    color: white !important; 
    text-decoration: none;
}

.social-btn:hover, .social-btn:focus {
    color: white !important;
    text-decoration: none;
}

.primary-btn:hover {
    color: white !important;
    text-decoration: none;
}

.register-box {
    display: block;
    margin-top: 20px;
    padding: 12px 15px;
    border: 2px dashed #007bff; /* Khung hình chữ nhật */
    border-radius: 6px;
    background-color: #f4f9ff;
    color: #007bff;
    text-align: center;
    text-decoration: none;
    font-style: italic; /* Chữ in nghiêng */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Hiệu ứng nhấp nháy (pulse) liên tục */
    animation: pulseEffect 2s infinite;
}

    .register-box:hover {
        background-color: #007bff;
        color: #ffffff;
        border-style: solid;
        transform: translateY(-2px);
        animation: none; /* Dừng nhấp nháy khi di chuột vào */
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }

@keyframes pulseEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.staff-check-grid.compact {
    gap: 0.55rem;
}

.staff-zone-overview-card {
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 8px;
    background: #ffffff;
    padding: 0.9rem;
    box-shadow: 0 10px 26px rgba(24, 33, 47, 0.08);
}

.staff-zone-hello {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(24, 33, 47, 0.08);
}

.staff-zone-hello span,
.staff-zone-info-list span,
.staff-zone-total span {
    color: #667085;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.staff-zone-hello strong {
    color: #18212f;
    font-size: 1.2rem;
    line-height: 1.2;
    word-break: break-word;
}

.staff-zone-info-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.staff-zone-info-list div {
    display: grid;
    gap: 0.12rem;
}

.staff-zone-info-list strong {
    color: #18212f;
    font-size: 0.9rem;
    line-height: 1.25;
    word-break: break-word;
}

.staff-zone-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(24, 33, 47, 0.08);
}

.staff-zone-total strong {
    color: #027a48;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 800;
}

.staff-current-gates-card,
.staff-selected-preview {
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 8px;
    background: #ffffff;
    padding: 0.85rem;
    box-shadow: 0 10px 26px rgba(24, 33, 47, 0.08);
}

.staff-current-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #17324d;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
}

.staff-current-gates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.staff-gate-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    background: #eef6ff;
    color: #17324d;
    border: 1px solid rgba(23, 50, 77, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
}

.staff-zone-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.staff-zone-item-card,
.staff-zone-empty {
    min-width: 0;
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.7rem;
}

.staff-zone-empty {
    grid-column: 1 / -1;
    color: #667085;
    font-size: 0.86rem;
}

.staff-zone-item-card {
    display: grid;
    gap: 0.45rem;
    align-content: space-between;
    min-height: 104px;
}

.staff-zone-item-card strong {
    display: block;
    color: #18212f;
    font-size: 0.86rem;
    line-height: 1.2;
    word-break: break-word;
}

.staff-zone-item-card small {
    display: block;
    margin-top: 0.18rem;
    color: #667085;
    font-size: 0.72rem;
    line-height: 1.2;
    word-break: break-word;
}

.staff-zone-item-total {
    color: #17324d;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 800;
}

.staff-zone-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    min-height: 22px;
}

.staff-zone-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    font-size: 0.68rem;
    line-height: 1.1;
    font-weight: 800;
}

.staff-zone-badge.assigned {
    background: #ecfdf3;
    color: #027a48;
}

.staff-zone-badge.requested {
    background: #fff7ed;
    color: #c2410c;
}

.staff-zone-badge.moved {
    background: #eef4ff;
    color: #3538cd;
}

.staff-check-item small {
    display: block;
    margin-top: 0.15rem;
    color: #027a48;
    font-size: 0.72rem;
    font-weight: 700;
}

.staff-change-modal-block {
    margin-bottom: 1rem;
}

.staff-change-history-list {
    display: grid;
    gap: 0.75rem;
}

.staff-change-history-card,
.staff-change-history-empty {
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(24, 33, 47, 0.08);
}

.staff-change-history-card {
    padding: 0.85rem;
}

.staff-change-history-empty {
    padding: 1rem;
    color: #667085;
    font-size: 0.9rem;
}

.staff-change-time-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 0.45rem 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.84rem;
}

.staff-change-time-grid span {
    color: #667085;
}

.staff-change-time-grid strong {
    color: #18212f;
    font-weight: 700;
    text-align: right;
}

.staff-change-status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.74rem;
    font-weight: 700;
}

.staff-change-status.approved {
    background: #ecfdf3;
    color: #027a48;
}

.staff-change-status.rejected {
    background: #fef3f2;
    color: #b42318;
}

@media (max-width: 360px) {
    .staff-zone-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
