:root {
    --primary: #2c3e50;
    --accent: #d4af37; /* Gold for Rosie & Andy */
    --bg: #fdfdfd;
    --card: #ffffff;
    --text: #333;
    --border: #e0e0e0;
}

/* 1. Reset the body to be simple and vertical */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 20px;
    display: block; /* This stops the side-by-side behavior */
}

/* 2. Create a new wrapper to center everything */
.main-wrapper {
    max-width: 600px;
    margin: 0 auto; /* This centers the column in the middle of the screen */
}

/* 3. Update container to just fill the wrapper */
.container {
    background: var(--card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px; /* Adds space between the stacked boxes */
}

h1 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.guest-row {
    background: #f8f9fa;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.guest-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    color: var(--primary);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
    accent-color: var(--accent);
}

textarea, input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-top: 5px;
    box-sizing: border-box;
    font-family: inherit;
}

button {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

button:hover {
    background-color: #1a252f;
}

.code-input {
    font-size: 2rem;
    letter-spacing: 5px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 30px;
}