/* === Overlay (fond flouté) === */
.popup-overlay {
    position: fixed;
    inset: 0; /* équivaut à top: 0; right: 0; bottom: 0; left: 0 */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* === Contenu de la popup === */
.popup-consent {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

/* === Titres et paragraphes === */
.popup-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.popup-text {
    margin-bottom: 1.5rem;
}

/* === Actions (boutons) === */
.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* === Boutons génériques === */
.btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

/* === Bouton principal === */
.btn-primary {
    background-color: #002c71;
    color: white;
}
.btn-primary:hover {
    background-color: #001c50;
}

/* === Bouton secondaire === */
.btn-secondary {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #333;
}
.btn-secondary:hover {
    background-color: #f2f2f2;
}

/* === Bouton contour (paramétrer) === */
.btn-outline {
    background-color: white;
    border: 1px solid #002c71;
    color: #002c71;
}
.btn-outline:hover {
    background-color: #002c71;
    color: white;
}
