/* Modal RSVP - Confirmação de Presença */
.rsvp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.4s ease-out;
}

.rsvp-modal.hidden {
    display: none !important;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rsvp-modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: slideUpModal 0.5s ease-out;
    border: 3px solid #b3d1d6;
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rsvp-header {
    margin-bottom: 30px;
}

.rsvp-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.rsvp-header h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #2A6E78;
    margin-bottom: 10px;
}

.rsvp-subtitle {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
}

.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rsvp-btn-confirm {
    background: linear-gradient(135deg, #2A6E78 0%, #1f555d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(42, 110, 120, 0.4);
}

.rsvp-btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 110, 120, 0.5);
}

.rsvp-btn-already {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.rsvp-btn-already:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

@media screen and (max-width: 768px) {
    .rsvp-modal-content {
        padding: 30px 20px;
        margin: 15px;
    }

    .rsvp-emoji {
        font-size: 3rem;
    }

    .rsvp-header h2 {
        font-size: 2rem;
    }

    .rsvp-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}


#contributions-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contrib-name {
    font-weight: 600;
    color: #2A6E78;
}

.contrib-amount {
    font-weight: 700;
    color: #22c55e;
}