/* WR Nieuwsbrief Widget */
.wr-nieuwsbrief-widget {
    text-align: center;
    padding: 10px 0;
}

.wr-nieuwsbrief-logo {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: block;
    margin: 0 auto;
}

.wr-nieuwsbrief-logo:hover {
    transform: scale(1.04);
    opacity: 0.88;
}

.wr-nieuwsbrief-btn {
    background: #E8620A;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
    width: 100%;
}

.wr-nieuwsbrief-btn:hover {
    background: #c95508;
}

/* Overlay */
.wr-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Popup */
.wr-popup {
    background: #fff;
    border-radius: 8px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 92%;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    text-align: center;
    font-family: 'Source Sans 3', sans-serif;
}

.wr-popup h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #0D1B2A;
    font-family: 'Oswald', sans-serif;
}

.wr-popup p {
    color: #555;
    font-size: 15px;
    margin: 0 0 20px;
    line-height: 1.5;
}

.wr-popup-sluiten {
    position: absolute;
    top: 10px; right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.wr-popup-sluiten:hover {
    color: #0D1B2A;
}

/* Formulier */
.wr-popup-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.wr-popup-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    padding: 11px 14px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.wr-popup-form input[type="email"]:focus {
    border-color: #E8620A;
}

.wr-popup-form button {
    background: #E8620A;
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.wr-popup-form button:hover {
    background: #c95508;
}

.wr-popup-form button:disabled {
    background: #aaa;
    cursor: default;
}

/* Melding */
.wr-melding {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.wr-melding.succes {
    background: #e6f4ea;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.wr-melding.fout {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Mobiel */
@media (max-width: 480px) {
    .wr-popup {
        padding: 28px 18px 22px;
    }
    .wr-popup-form {
        flex-direction: column;
    }
    .wr-popup-form input[type="email"],
    .wr-popup-form button {
        width: 100%;
    }
}
