/* Bandeau serveur de test */

.test-server-notice {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 85%;
    max-width: 750px;
    box-sizing: border-box;

    background: #fff3cd;
    border: 1px solid #e0b84c;
    border-left: 5px solid #d39e00;
    border-radius: 8px;

    padding: 15px 45px 15px 20px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);

    z-index: 10000;

    color: #664d03;
    font-size: 14px;
    line-height: 1.5;
}

.test-server-notice[hidden] {
    display: none;
}

.test-server-notice strong {
    font-size: 16px;
}

.test-server-notice p {
    margin: 5px 0;
}

.test-server-notice a {
    color: #084298;
    font-weight: bold;
    text-decoration: underline;
}

/* Séparation entre les deux langues */

.test-notice-fr {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0c878;
}

.test-notice-nl {
    padding-bottom: 2px;
}

/* Bouton de fermeture */

.test-server-notice-close {
    position: absolute;
    top: 8px;
    right: 12px;

    border: none;
    background: transparent;

    font-size: 25px;
    color: #664d03;
    cursor: pointer;
}

.test-server-notice-close:hover {
    color: #000;
}

@media (max-width: 600px) {
    .test-server-notice {
        width: 95%;
        top: 8px;
        padding: 12px 35px 12px 12px;
        font-size: 13px;
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* ========================================
   Étiquette permanente : serveur de test
   ======================================== */

.test-server-badge {
    position: fixed;
    top: 8px;
    right: 10px;

    background-color: #e69a32;
    color: #ffffff;

    padding: 5px 10px;
    border-radius: 5px;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.3px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

    z-index: 9999;

    pointer-events: none;
    user-select: none;
}

.test-server-badge[hidden] {
    display: none;
}
