/* ============================================================
   Legal pages (Privacy Policy, Terms of Service, SMS Consent)
   and contact-form consent checkbox
   ============================================================ */

.legal-content {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.85;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #1f2a44;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 19px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #3E72C6;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 0 0 22px 22px;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 9px;
}

.legal-content .legal-updated {
    font-style: italic;
    color: #888;
    margin-bottom: 35px;
}

.legal-content .legal-contact {
    background: #E6F7F0;
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.legal-content .legal-contact p {
    margin-bottom: 6px;
}

.legal-content a {
    color: #3E72C6;
    text-decoration: underline;
}

/* SMS consent statement boxes */
.legal-consent-box {
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3E72C6;
    background: #f7fafd;
    padding: 22px 28px;
    border-radius: 6px;
    margin-bottom: 26px;
}

.legal-consent-box h3 {
    margin-top: 0;
}

/* ---- Contact form consent checkbox ---- */
.consent-area {
    margin-top: 5px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    line-height: 1.6;
    margin-bottom: 0;
}

.consent-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    cursor: pointer;
}

.consent-label a {
    color: #3E72C6;
    text-decoration: underline;
}

/* Button + consent checkbox on the same row (button left, consent right) */
.submit-consent-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px 22px;
}

.submit-consent-row .theme_btn {
    flex: 0 0 auto;
}

.consent-inline {
    margin-bottom: 0;
    flex: 1 1 auto;
}

@media (max-width: 575px) {
    .submit-consent-row {
        flex-wrap: wrap;
        gap: 16px;
    }
    .consent-inline {
        flex-basis: 100%;
    }
}
