@font-face {
    font-family: 'Allison Script';
    src: url('/fonts/Allison-Script.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-cream: #ddc7a3;
    --color-cream-light: #f4ede0;
    --color-gold: #c9a227;
    --color-text: #2e2b26;
    --color-text-muted: #6b6357;
    --color-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    color: var(--color-text);
    font-family: 'Jost', sans-serif;
    padding: 24px 16px;
}

.card {
    background: var(--color-white);
    width: 100%;
    max-width: 420px;
    border-radius: 4px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card.center {
    padding: 56px 28px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0 0 8px;
}

.names {
    font-family: 'Allison Script', cursive;
    font-weight: 400;
    color: var(--color-gold);
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 16px;
}

.names.small {
    font-size: 38px;
}

.intro {
    color: var(--color-text-muted);
    margin: 0 0 28px;
    font-size: 15px;
}

.field-group {
    text-align: left;
    margin-bottom: 24px;
}

.guest-block {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee2cd;
}

.guest-block:first-child {
    padding-top: 0;
}

.guest-block .text-input {
    margin-bottom: 16px;
}

.meal-allergy {
    margin-top: 12px;
}

.label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

#name-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd3bf;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    background: var(--color-cream-light);
    color: var(--color-text);
}

.text-input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.link-button {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 13px;
    font-family: inherit;
    padding: 10px 0 0;
    cursor: pointer;
    text-decoration: underline;
}

#add-guest {
    display: block;
    margin-bottom: 24px;
}

.choice-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.choice {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd3bf;
    border-radius: 4px;
    padding: 12px 14px;
    cursor: pointer;
    background: var(--color-cream-light);
    font-size: 15px;
}

.choice input {
    accent-color: var(--color-gold);
    width: 18px;
    height: 18px;
}

.submit-button {
    width: 100%;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.submit-button:hover {
    filter: brightness(0.95);
}

.validation-summary {
    text-align: left;
    color: #b3261e;
    font-size: 13px;
    margin-bottom: 16px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

/* Admin */
.admin-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 16px;
    font-family: 'Jost', sans-serif;
    color: var(--color-text);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    margin-top: 16px;
}

.admin-table th, .admin-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.admin-table th {
    background: var(--color-cream-light);
}

.badge-yes {
    color: #1e7d32;
    font-weight: 600;
}

.badge-no {
    color: #b3261e;
    font-weight: 600;
}
