:root {
    color: #172033;
    font-family: "Trebuchet MS", "Avenir Next", sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(245, 185, 66, 0.22), transparent 28rem),
        linear-gradient(135deg, #fffdf8 0%, #f4fbf5 100%);
}

* {
    box-sizing: border-box;
}

.auth-shell,
.checkin-app {
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 1.25rem;
    max-width: 46rem;
    margin: 0 auto;
    padding: clamp(1rem, 4vw, 2.5rem);
}

.auth-shell {
    place-items: center;
}

.panel {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(36, 79, 115, 0.16);
    border-radius: 0.5rem;
    box-shadow: 0 1.5rem 4rem rgba(25, 35, 60, 0.12);
    padding: clamp(1.25rem, 4vw, 2rem);
}

.auth-panel {
    max-width: 30rem;
}

.kicker {
    margin: 0 0 0.55rem;
    color: #6c7890;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(2.6rem, 9vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 0.25rem;
    color: #244f73;
    font-size: 1.35rem;
}

.copy,
.date,
small {
    color: #6c7890;
    font-weight: 700;
}

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-form label {
    display: grid;
    gap: 0.4rem;
    color: #244f73;
    font-weight: 800;
}

.auth-form input {
    width: 100%;
    border: 1px solid rgba(36, 79, 115, 0.16);
    border-radius: 0.45rem;
    padding: 0.9rem 1rem;
    color: #172033;
    font: inherit;
    font-weight: 800;
}

button {
    border: 0;
    border-radius: 0.45rem;
    background: #2f7d5b;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: 0.95rem 1rem;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.status,
.message {
    border-radius: 0.45rem;
    border: 1px solid rgba(47, 125, 91, 0.24);
    background: rgba(235, 246, 240, 0.9);
    color: #2f7d5b;
    padding: 0.75rem 0.85rem;
    font-weight: 800;
}

.status.is-error {
    border-color: rgba(229, 107, 50, 0.35);
    background: #fff4e0;
    color: #e56b32;
}

.hero a {
    display: inline-flex;
    margin-top: 1rem;
    color: #244f73;
    font-weight: 900;
    text-decoration: none;
}

.venue {
    margin: 1rem 0;
    color: #244f73;
    font-size: 1.25rem;
    font-weight: 900;
}

.venue span {
    display: block;
    margin-top: 0.2rem;
    color: #6c7890;
    font-size: 0.95rem;
}

.actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.actions form,
.actions button {
    width: 100%;
}

@media (max-width: 520px) {
    .actions {
        grid-template-columns: 1fr;
    }
}
