/* poll-stijl.css — Zondag poll modal */

#poll-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: poll-fade-in 0.3s ease;
}

#poll-overlay.poll-fade-out {
    animation: poll-fade-out 0.3s ease forwards;
}

@keyframes poll-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes poll-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#poll-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    width: calc(100% - 2rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: poll-slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes poll-slide-up {
    from {
        transform: translateY(30px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

#poll-sluiten {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

#poll-sluiten:hover {
    color: #333;
}

#poll-label {
    font-size: 2.2rem;
    margin: 0 0 0.5rem;
}

#poll-titel {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1a1a1a;
}

#poll-beschrijving {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.55;
    margin: 0 0 1.5rem;
}

#poll-knoppen {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.poll-keuze {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
    font-size: 1rem;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s,
        transform 0.1s;
    font-weight: 500;
}

.poll-keuze:hover:not(:disabled) {
    border-color: #4a90d9;
    background: #eef5fd;
    transform: translateY(-1px);
}

.poll-keuze:active:not(:disabled) {
    transform: translateY(0);
}

.poll-keuze:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#poll-bedankt {
    font-size: 1.05rem;
    color: #2d7a3a;
    font-weight: 600;
    padding: 0.5rem 0;
}

#poll-fout {
    font-size: 0.9rem;
    color: #c0392b;
    margin-top: 0.75rem;
}
