/* ============================================
   MODALS CSS - SITO-GRATIS.COM

   Stili per Privacy e Cookie Policy modals.
   Usa le variabili CSS del progetto:
   --primary-color, --text-dark, --text-light
   ============================================ */

/* === MODAL BASE === */
.modal-content {
    border-radius: 10px;
    border: none;
    background-color: #ffffff !important;
}

.modal-header {
    background-color: var(--primary-color, #D32F2F);
    color: #ffffff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
    background-color: #ffffff !important;
    color: var(--text-dark, #333333) !important;
}

.modal-body p,
.modal-body li,
.modal-body ul {
    color: var(--text-dark, #333333) !important;
}

.modal-body h6 {
    color: var(--primary-color, #D32F2F);
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body a {
    color: var(--primary-color, #D32F2F) !important;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-footer {
    background-color: #f8f9fa;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* === MODAL SCROLLABLE === */
.modal-dialog-scrollable .modal-body {
    max-height: 60vh;
}

/* === RESPONSIVE === */
@media (max-width: 576px) {
    .modal-body {
        padding: 20px;
    }

    .modal-body h6 {
        font-size: 15px;
    }

    .modal-body p,
    .modal-body li {
        font-size: 14px;
    }
}
