/* ======================================================
   STERRENMIXRADIO - BERICHTENBALK
   Plaats dit bestand naast je bestaande style.css
====================================================== */

.berichten-wrapper {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto 20px;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.berichtenbalk {
    flex: 1;
    min-width: 0;
    height: 48px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    background: #151025;
    border: 1px solid #8f2dff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(143,45,255,.35);
}

.berichten-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-width: max-content;
}

.berichten-scroll {
    animation: berichten-loop 15s linear infinite;
}



.bericht-item {
    display: inline-block;
    margin-right: 60px;
    color: #fff;
    font-size: 15px;
}

.plaats-bericht-btn {
    flex: 0 0 auto;
    border: 0;
    padding: 0 20px;
    min-height: 48px;
    border-radius: 12px;
    background: #8f2dff;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 0 15px rgba(143,45,255,.35);
}

.plaats-bericht-btn:hover {
    background: #ffc107;
    color: #000;
    box-shadow: 0 0 20px gold;
}

@keyframes berichten-loop {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Popup */
.bericht-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.75);
}

.bericht-modal.open {
    display: flex;
}

.bericht-modal-box {
    width: min(500px, 100%);
    background: #151025;
    border: 1px solid #8f2dff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 35px rgba(143,45,255,.55);
    position: relative;
}

.bericht-modal-box h2 {
    margin-bottom: 18px;
    color: #ffc107;
}

.bericht-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.bericht-form label {
    display: block;
    margin: 12px 0 6px;
}

.bericht-form input,
.bericht-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #8f2dff;
    border-radius: 8px;
    background: #090214;
    color: #fff;
    font: inherit;
}

.bericht-form textarea {
    min-height: 120px;
    resize: vertical;
}

.bericht-submit {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    border: 0;
    border-radius: 30px;
    background: #8f2dff;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.bericht-submit:hover {
    background: #ffc107;
    color: #000;
}

.bericht-feedback {
    min-height: 22px;
    margin-top: 10px;
    color: #ffc107;
}

@media (max-width: 768px) {
    .berichten-wrapper {
        width: 95%;
    }

    .plaats-bericht-btn {
        padding: 0 12px;
        font-size: 13px;
    }

    .bericht-item {
        margin-right: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .berichten-scroll {
        animation: none;
    }
}

/* ==========================================
   MOBIEL
========================================== */

@media (max-width: 600px) {

    .berichten-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .berichtenbalk {
        width: 100%;
    }

    .plaats-bericht-btn {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

}