:root {
    --lumen-magenta: #e6007e;
    --lumen-orange: #ff8c00;
    --lumen-black: #000000;
    --lumen-white: #ffffff;
}

body.auth-page {
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background-color: var(--lumen-magenta);
    overflow-x: hidden;
}

.auth-bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.auth-bg-orbs span {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffb347, var(--lumen-orange) 55%, #e67300);
    box-shadow: inset -8px -12px 20px rgba(0, 0, 0, 0.15);
}

.auth-bg-orbs .orb-1 { width: 72px; height: 72px; top: 38%; left: 8%; }
.auth-bg-orbs .orb-2 { width: 48px; height: 48px; top: 52%; left: 22%; }
.auth-bg-orbs .orb-3 { width: 96px; height: 96px; top: 44%; right: 6%; }
.auth-bg-orbs .orb-4 { width: 56px; height: 56px; top: 62%; right: 18%; }
.auth-bg-orbs .orb-5 { width: 40px; height: 40px; top: 72%; left: 12%; }
.auth-bg-orbs .orb-6 { width: 64px; height: 64px; top: 78%; right: 8%; }

.auth-topbar {
    position: relative;
    z-index: 2;
    background: var(--lumen-black);
    color: var(--lumen-white);
    padding: 0.65rem 0.75rem;
}

.auth-topbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    line-height: 1;
}

.auth-topbar-brand small {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.auth-topbar-location {
    font-size: 0.72rem;
    line-height: 1.2;
}

.auth-venue-strip {
    position: relative;
    z-index: 2;
    background: var(--lumen-magenta);
    color: var(--lumen-white);
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem 0.55rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.auth-shell {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}

.auth-card {
    background: var(--lumen-white);
    border-radius: 0.35rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.auth-card-header {
    background: var(--lumen-black);
    color: var(--lumen-white);
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
}

.auth-card-body {
    padding: 1.25rem 1rem 1rem;
}

.auth-card-title {
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.auth-phone-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.auth-prefix-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0 0.35rem;
    background: #fff;
    min-width: 4.5rem;
}

.auth-prefix-wrap select {
    border: 0;
    background: transparent;
    font-size: 0.85rem;
    padding: 0.5rem 0.15rem;
    max-width: 4rem;
}

.auth-phone-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.95rem;
}

.auth-btn-continua {
    background: var(--lumen-black);
    color: var(--lumen-white);
    border: 0;
    border-radius: 0.25rem;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 0 0.85rem;
    white-space: nowrap;
}

.auth-welcome-msg {
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 1rem 0 0;
    min-height: 1.25rem;
}

.auth-below-card {
    text-align: center;
    color: var(--lumen-white);
    margin-top: 1.25rem;
}

.auth-below-card p {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.auth-btn-register {
    display: block;
    width: 100%;
    background: var(--lumen-black);
    color: var(--lumen-white);
    border: 0;
    border-radius: 0.25rem;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    text-decoration: none;
    text-align: center;
}

.auth-btn-register:hover {
    color: var(--lumen-white);
    opacity: 0.92;
}

.auth-form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.auth-invalid {
    font-size: 0.8rem;
    color: #ffcdd2;
    margin-top: 0.35rem;
}

.auth-card--home {
    border-radius: 0.35rem;
}

.auth-card-body--home {
    padding: 1.35rem 1rem 1.15rem;
}

.auth-home-greeting {
    text-align: center;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.auth-pass-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.auth-pass-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.auth-pass-separator,
.auth-pass-total {
    font-size: 1.35rem;
    font-weight: 700;
}

.auth-pass-label {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.auth-progress-track {
    height: 0.55rem;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.auth-progress-fill {
    height: 100%;
    background: var(--lumen-black);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.auth-home-message {
    text-align: center;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.auth-home-message--success {
    font-weight: 700;
    color: #0a7a36;
}

.auth-home-events {
    background: #f7f7f7;
    border-radius: 0.35rem;
    padding: 0.75rem 0.85rem;
    margin-bottom: 1rem;
}

.auth-home-events-title {
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.auth-home-events-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.88rem;
}

.auth-home-access-log {
    margin-top: 0.75rem;
}

.auth-home-access-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-home-access-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0.35rem;
}

.auth-home-access-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.auth-home-access-action {
    font-weight: 600;
}

.auth-home-access-time {
    color: #666;
    white-space: nowrap;
    font-size: 0.78rem;
}

.auth-home-access-empty {
    color: #666;
}

.auth-btn-register--block {
    cursor: not-allowed;
    opacity: 0.65;
}

.auth-btn-register--block.auth-btn-register--active {
    cursor: pointer;
    opacity: 1;
}

.auth-modal-content {
    border: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.auth-modal-header {
    background: var(--lumen-black);
    color: var(--lumen-white);
}

.auth-camera-wrap {
    background: #111;
    aspect-ratio: 4 / 3;
    max-height: 60vh;
}

.auth-camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-camera-error {
    color: #b00020;
    font-size: 0.85rem;
    padding: 0.75rem 1rem 0;
    margin: 0;
}

.auth-camera-hint {
    color: #444;
}

.auth-home-hint {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    margin: 0.45rem 0 0;
}

.auth-welcome-msg--home {
    margin-top: 1rem;
}

.auth-btn-register--outline {
    background: transparent;
    border: 2px solid var(--lumen-white) !important;
}

.auth-btn-register--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.auth-staff-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.auth-staff-form .auth-form-control {
    padding: 0.55rem 0.65rem;
    font-size: 0.95rem;
}

.auth-staff-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

.auth-staff-link a {
    color: var(--lumen-white);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.auth-staff-role {
    margin-top: -0.5rem;
}

.auth-staff-menu {
    border: 1px solid #e9ecef;
    border-radius: 0.35rem;
    overflow: hidden;
}

.auth-staff-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.auth-staff-menu-item:last-child {
    border-bottom: 0;
}

.auth-staff-menu-label {
    font-weight: 700;
    font-size: 0.9rem;
}

.auth-staff-menu-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-ip-block-message {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}
