:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Estilos para o cabeçalho */
.header {
    max-width: 800px;
    margin: 15px auto;
    text-align: center;
    background: linear-gradient(135deg, #1B00FF 0%, #0a00b3 100%);
    color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilos para a capa com a foto do aniversariante */
.cover-photo {
    width: 100%;
    height: 220px; /* Altura fixa reduzida */
    position: relative;
    overflow: hidden;
}

.cover-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Ajusta a posição vertical da imagem */
    display: block;
    transition: transform 0.5s ease;
}

.cover-photo:hover .cover-image {
    transform: scale(1.03);
}

/* Posicionamento do botão de admin na capa */
.cover-photo .admin-link {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* Conteúdo do cabeçalho abaixo da imagem */
.header-content {
    padding: 2rem 1.5rem 2.5rem;
    position: relative;
}

.header-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.invitation-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
    color: white;
    text-align: center;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.invitation-text p {
    margin-bottom: 1rem;
}

.invitation-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Estilo moderno para a data e hora */
.event-datetime {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Faz com que os itens filhos estiquem para ter a mesma altura */
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
    perspective: 1000px;
}

.date-block, .time-block {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    min-height: 140px;
    width: 160px;
    margin: 6px;
}

.date-block:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.calendar-icon {
    font-size: 2.2rem;
    margin-right: 0.75rem;
    color: #1B00FF;
}

.date-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.day-month {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: #1400DD;
    margin-bottom: 0.2rem;
}

.year {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.time-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.time-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    display: inline-flex;
    animation: pulse 2s infinite;
    color: #E7F99A;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.time {
    font-size: 2.8rem;
    color: #1400DD;
    font-weight: 700;
    margin: 0.2rem 0 0.1rem;
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.day-highlight {
    display: inline-block;
    position: relative;
    margin: 1.5rem auto;
    padding: 0.75rem 2rem;
    background-color: #E7F99A;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1600E5;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.day-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Ajustes de responsividade para a seção de data/horário */
@media (max-width: 768px) {
    .event-datetime {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .date-block, .time-block {
        padding: 0.5rem 0.8rem;
        min-height: auto;
        width: 48%;
        max-width: 140px;
        margin: 0;
    }
    
    .calendar-icon, .time-icon {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .day-month {
        font-size: 1.4rem;
        margin-bottom: 0.1rem;
    }
    
    .time {
        font-size: 1.4rem;
        margin: 0.1rem 0;
    }
    
    .time-label, .year {
        font-size: 0.7rem;
    }
}

/* Ajustes de responsividade para o cabeçalho */
@media (max-width: 480px) {
    .header {
        padding: 1.5rem 1rem 2.5rem;
    }
    
    .profile-picture {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .header h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .event-details p {
        margin: 0.5rem 0;
        font-size: 0.95rem;
    }
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.event-details p {
    margin: 0.5rem 0;
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.95;
}

.event-details .date {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-details .form-info {
    color: #1f2937;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .form-info {
        font-size: 0.85rem;
        margin: 0.5rem 0 1.2rem;
        display: block;
        width: 100%;
    }
}

.event-details .location {
    color: #e5e7eb;
    font-size: 1.1rem;
    margin: 1.5rem auto;
    line-height: 1.6;
    max-width: 380px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.event-details .location strong {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.event-details .location em {
    font-style: normal;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.event-details .note {
    margin: 2rem 0 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    text-align: center;
}

.scroll-link {
    color: #1500E1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-link::after {
    content: '↓';
    font-size: 1.2em;
    margin-left: 0.5rem;
}

.scroll-link:hover {
    color: #2563eb;
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-link:active {
    transform: translateY(0);
}

.rsvp-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.rg-input {
    text-transform: uppercase;
}

.age-input {
    max-width: 100px;
}

.age-input::-webkit-inner-spin-button,
.age-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.age-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Estilo para o campo de data de nascimento */
input[type="date"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Estilo para o ícone do calendário no input date */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    color: var(--primary-color);
    opacity: 0.7;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(37, 99, 235, 0.1);
    opacity: 1;
}

/* Ajustes para navegadores que não suportam input type date */
input[type="date"]:invalid::-webkit-datetime-edit {
    color: var(--text-light);
}

/* Melhorias para formulário em dispositivos móveis */
@media (max-width: 480px) {
    .rsvp-form {
        padding: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-row .form-group {
        margin-bottom: 0;
    }
    
    .rg-input {
        width: 100%;
    }
    
    .age-input {
        max-width: 80px;
    }
    
    .guest-entry {
        padding: 1rem;
        margin-bottom: 1rem;
        background-color: #f8fafc;
        border-radius: 8px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-option {
        margin: 5px 0;
    }
    
    input[type="text"],
    input[type="number"],
    select,
    textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    textarea {
        min-height: 100px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
    background-color: var(--background-light);
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
    user-select: none;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-custom {
    position: absolute;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition);
}

.radio-option:hover .radio-custom {
    border-color: var(--primary-color);
}

.radio-option input:checked ~ .radio-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: inset 0 0 0 3px white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0 0 0.8rem 0;
}

.btn-primary {
background-color: #1500E1;
color: white;
width: 100%;
padding: 1rem;
font-size: 1.1rem;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(21, 0, 225, 0.2);
}

.location {
color: #e5e7eb;
font-size: 1.1rem;
margin: 1.5rem 0;
line-height: 1.6;
max-width: 320px;
margin-left: auto;
margin-right: auto;
background: rgba(255, 255, 255, 0.1);
padding: 1rem;
border-radius: 8px;
text-align: center;
}

.location strong {
color: white;
font-weight: 600;
display: block;
margin-bottom: 0.5rem;
}

.location em {
font-style: normal;
display: inline-block;
background: rgba(255, 255, 255, 0.2);
padding: 0.25rem 0.75rem;
border-radius: 12px;
margin-top: 0.5rem;
font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: #1300c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(21, 0, 225, 0.25);
}

.btn-secondary {
    background-color: var(--background-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.guest-entry {
    background: var(--background-light);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.guest-entry h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guest-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.guest-fields .form-group:first-child {
    grid-column: 1 / -1;
}

.remove-guest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.remove-guest:hover {
    background-color: #fee2e2;
}

.btn-remove {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    margin: 1.5rem 0 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-remove:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
    color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-remove:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

.hidden {
    display: none !important;
}

.admin-link {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Estilos para as mensagens de confirmação */
.confirmation {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.confirmation h2 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.confirmation p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.confirmation-message {
    animation: fadeIn 0.5s ease-in-out;
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilo específico para a mensagem de quem não vai comparecer */
#notAttendingConfirmation h2 {
    color: #7c3aed;
}

#notAttendingConfirmation p {
    color: #6b7280;
}

/* Botão de confirmação */
#submitAnother {
    margin-top: 1.5rem;
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #f1f5f9;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    transition: all 0.3s ease;
}

#submitAnother:hover {
    background-color: #e0f2fe;
    transform: translateY(-2px);
}

/* Ajustes para dispositivos móveis */
@media (max-width: 480px) {
    .confirmation {
        padding: 1.5rem 1rem;
    }
    
    .confirmation h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .confirmation p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    #submitAnother {
        width: 100%;
        padding: 14px;
        font-size: 1.05rem;
    }
}

.admin-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f1f5f9;
    color: #334155;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .admin-button {
        padding: 6px 12px;
        font-size: 0.8rem;
        position: relative;
        top: -10px;
    }
    
    .cover-photo .admin-link {
        top: 15px;
        right: 15px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .invitation-text {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .invitation-text p {
        margin-bottom: 0.8rem;
    }
    
    .event-datetime {
        flex-wrap: nowrap;
        gap: 0.8rem;
        padding: 0 0.5rem;
        margin: 1.5rem 0;
    }
    
    .date-block, .time-block {
        width: 48%;
        min-height: 120px;
        padding: 0.8rem 0.5rem;
        margin: 0;
    }
    
    .day-month {
        font-size: 1.5rem;
    }
    
    .calendar-icon, .time-icon {
        font-size: 1.8rem;
    }
    
    .day-highlight {
        font-size: 1.5rem;
        padding: 0.6rem 1.5rem;
        margin: 1rem auto;
        letter-spacing: -0.3px;
    }
    
    .event-details .location {
        padding: 2.2rem 1rem;
        margin: 2rem 0.5rem;
        font-size: 1.3rem;
        max-width: 95%;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .event-details .location strong {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .event-details .location em {
        padding: 0.6rem 1.2rem;
        margin-top: 1rem;
        font-size: 1.2rem;
        display: inline-block;
    }
}

.admin-button:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.confirmation {
    text-align: center;
    padding: 4rem 2rem;
}

.confirmation h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.confirmation p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive adjustments */
/* Login Page Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

.login-header {
    background: linear-gradient(135deg, #1B00FF 0%, #0a00b3 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-form {
    padding: 2rem;
    background: white;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--background-light);
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.login-form button[type="submit"]:hover {
    background: var(--primary-hover);
}

.login-form button[type="submit"]:active {
    transform: translateY(1px);
}

.error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    animation: shake 0.5s ease-in-out;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 0;
    }
    
    .login-header {
        padding: 1.5rem 1rem;
    }
    
    .login-form {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .guest-fields {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 2rem 1.5rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .rsvp-form {
        padding: 2rem 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}
