/* Prime GYM Fit - Check-in Kiosk Styling */

:root {
    --bg-dark: #050505;
    --accent-green: #00ff88;
    --accent-red: #ff4d4d;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    user-select: none; /* Kiosk mode: no text selection */
}

.kiosk-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kiosk-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.logo-accent { color: var(--accent-green); }

.kiosk-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

.kiosk-main {
    width: 100%;
}

.display-area {
    margin-bottom: 20px;
}

.display-area input {
    width: 100%;
    background: #111;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 14px;
    font-size: 1.8rem;
    color: var(--text-main);
    text-align: center;
    letter-spacing: 4px;
    outline: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.num-key {
    background: #1a1a1a;
    border: none;
    border-radius: 12px;
    padding: 16px 0;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: all 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.num-key:active {
    transform: scale(0.95);
    background: #333;
}

.action-key {
    font-size: 1.5rem;
}

.clear-key {
    background: #2a1111;
    color: var(--accent-red);
}

.enter-key {
    background: var(--accent-green);
    color: #000;
}

/* Result Overlay */
.result-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.result-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.result-card {
    text-align: center;
    padding: 60px;
    border-radius: 24px;
    background: #111;
    transform: scale(0.8);
    transition: transform 0.3s;
    max-width: 600px;
    width: 90%;
}

.result-overlay.active .result-card {
    transform: scale(1);
}

.result-icon {
    font-size: 6rem;
    margin-bottom: 20px;
}

.result-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.result-card p {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Success State */
.result-card.success { border: 2px solid var(--accent-green); box-shadow: 0 0 50px rgba(0,255,136,0.2); }
.result-card.success .result-icon { color: var(--accent-green); }

/* Error State */
.result-card.error { border: 2px solid var(--accent-red); box-shadow: 0 0 50px rgba(255,77,77,0.2); }
.result-card.error .result-icon { color: var(--accent-red); }

/* Hidden Exit for Admin */
.hidden-exit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.2;
}
.hidden-exit:hover { opacity: 1; }
