body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    background-color: #fafafa;
}

.content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
}

/* Specific alignment for RSVP page with form */
.content:has(.rsvp-container) {
    align-items: flex-start;
}

.hideme {
    display: none;
    visibility: hidden;
}

.content h1 {
    color: black;
    font-size: 2rem;
}

.sidebar {
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 5px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.sidebar a {
    color: white;
    text-decoration: none;
    margin: 10px 0;
    padding: 5px;
    font-size: 1rem;
}

.sidebar a:hover {
    text-decoration: underline;
}

.background {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: 0.05;
}

.tab-title {
    padding-right: 20px !important;
}

.course {
    font-weight: bold;
    margin-top: 20px !important;
    margin-bottom: 5px !important;
}

.dish-description {
    font-style: italic;
}

.dish-failed {
    text-decoration: line-through;
}

#cat {
    position: fixed;
    font-family: 'Courier New', Courier, monospace;
    margin-left: -100px;
    bottom: 0;
    z-index: 50;
}

#cat span {
    line-height: 0 !important;
}

/* RSVP Form Styles */
.rsvp-container {
    max-width: 600px;
    width: 100%;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rsvp-container h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.cat-separator {
    text-align: center;
    margin: 25px 0;
    color: #666;
    font-size: 1.2em;
}

.intro-text {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 1em;
    line-height: 1.6;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group small {
    color: #666;
    font-size: 0.85em;
    font-style: italic;
    margin-top: -5px;
}

input[type="text"],
textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1em;
    background: #fafafa;
    color: #333;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #666;
    background: #fff;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.radio-label:hover {
    background: #f5f5f5;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #333;
}

.radio-label span {
    color: #444;
}

.submit-btn {
    padding: 14px 30px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #555;
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.status {
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.footer-note {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
    font-style: italic;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .content {
        padding: 80px 15px 15px 15px;
        align-items: flex-start; /* Start at top instead of center */
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .rsvp-container {
        padding: 25px;
        margin-top: 0;
    }
    
    .rsvp-container h1 {
        font-size: 1.6rem;
    }
    
    .sidebar {
        padding: 8px;
    }
    
    .sidebar a {
        font-size: 0.9rem;
        margin: 5px 0;
    }
}
