:root {
    --hco-primary: #4b3621;
    --hco-secondary: #d7c5b4;
    --hco-accent: #f4a259;
}

body {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar-brand {
    letter-spacing: -0.02em;
}

.hero-illustration {
    background: radial-gradient(circle at top, rgba(244, 162, 89, 0.4), transparent 60%),
        radial-gradient(circle at 30% 20%, rgba(75, 54, 33, 0.35), transparent 55%),
        #fff;
    border: 1px solid rgba(75, 54, 33, 0.1);
    border-radius: 1.5rem;
    min-height: 320px;
}

.plan-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.badge-soft {
    background: rgba(244, 162, 89, 0.15);
    color: #a35a1e;
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, 0.08);
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--hco-accent);
    position: relative;
    top: 6px;
}

.form-check-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1rem;
}

.form-check-input:checked + .form-check-label .form-check-card {
    border-color: var(--hco-accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.2);
}

.checkin-screen {
    min-height: 70vh;
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* background: #101828; */
    color: #f9fafb;
    padding: 3rem;
    overflow: hidden;
}

.checkin-screen input {
    font-size: 2rem;
    letter-spacing: 0.2em;
    text-align: center;
}

.kiosk-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.seat-option {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
    color: #f8fafc;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.seat-option:hover {
    transform: translateY(-2px);
    border-color: var(--hco-accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 89, 0.25);
}

.seat-option-locked {
    opacity: 0.65;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    cursor: not-allowed;
}

.seat-option-locked:hover {
    transform: none;
    box-shadow: none;
}

.seat-option-active {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
    background: rgba(46, 204, 113, 0.08);
}

.badge.bg-success-soft {
    background: rgba(46, 204, 113, 0.18) !important;
    color: #2ecc71;
}

.badge.bg-info-soft {
    background: rgba(99, 179, 237, 0.18) !important;
    color: #60a5fa;
}

.empty-seat {
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    text-align: center;
}

.kiosk-toast {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 260px;
    max-width: 360px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.kiosk-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.kiosk-toast-success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(46, 204, 113, 0.75));
}

.kiosk-toast-error {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.9), rgba(255, 99, 71, 0.75));
}

.session-timer {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.session-timer-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, #f4a259, #f97316, #f4a259);
}

.kiosk-floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.kiosk-floating-actions button {
    padding: 0.65rem 1rem;
    font-weight: 600;
}

.kiosk-floating-actions.is-idle {
    opacity: 0.3;
    pointer-events: none;
}

footer a.link-light:hover {
    color: var(--hco-secondary);
}

/* MOBILE BOTTOM NAV – SIMPLE APP STYLE */

.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54px;
    background: rgb(248, 248, 248); /* iOS Safari default */
    /* or */
    background: var(--hco-footer, rgb(248,248,248));

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom:none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    z-index: 1040;

    /* controlled by JS */
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-action-bar.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-action-bar.is-hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

/* each button = equal slot */
.mobile-action-button {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-size: 0.8rem;
    border-radius: 0;          /* no pill shape */
    background: transparent;   /* no big background */
    border: 0;
    box-shadow: none;
    gap: 0.35rem;
    transition: color 0.15s ease, transform 0.12s ease;
}

/* icon only – nice and tight */
.mobile-action-icon {
    font-size: 1.18rem;
    font-weight:900;
}

/* tap feedback */
.mobile-action-button:active {
    transform: translateY(1px) scale(0.97);
}

/* hover (mostly desktop dev tools / emulators) */
.mobile-action-button:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* optional “current” state (if you add it in PHP) */
.mobile-action-button.is-current,
.mobile-action-button[aria-current="page"] {
    color: var(--hco-accent);
}
.is-current .mobile-action-icon{
    font-weight:900;
    font-size:1.4rem;   
}
@media (min-width: 768px) {
    .mobile-action-bar {
        display: none;
    }
}
