/* privacy.css - Styling for privacy policy and legal pages */

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.privacy-container h1 {
    color: #112B4C;
    border-bottom: 3px solid #112B4C;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.privacy-container h2 {
    color: #112B4C;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-container h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.privacy-container p {
    margin-bottom: 1rem;
}

.privacy-container ul,
.privacy-container ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-container li {
    margin-bottom: 0.5rem;
}

.effective-date {
    background: #e8f4f8;
    padding: 1rem;
    border-left: 4px solid #112B4C;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.contact-box {
    background: #f9fafb;
    border: 1px solid #d9d9d9;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.sms-highlight {
    background: #fff5e6;
    border-left: 4px solid #f3d250;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .privacy-container {
        padding: 1.25rem 1rem 2.5rem 1rem; /* Slightly more bottom space */
        max-width: 100%;
        font-size: 0.95rem; /* Slightly smaller base font for narrow screens */
        line-height: 1.55;
        word-wrap: break-word;
    }

    .privacy-container h1 {
        font-size: 1.6rem;
        line-height: 1.25;
        word-break: break-word;
    }

    .privacy-container h2 {
        font-size: 1.25rem;
    }

    .privacy-container h3 {
        font-size: 1.05rem;
    }

    .privacy-container ul,
    .privacy-container ol {
        padding-left: 1.25rem; /* Reduce indent on mobile */
    }

    .privacy-container li {
        margin-bottom: 0.4rem;
    }

    .effective-date,
    .sms-highlight,
    .contact-box {
        padding: 0.85rem 0.9rem;
        margin-left: 0;
        margin-right: 0;
    }

    .contact-box p,
    .privacy-container p {
        margin-bottom: 0.85rem;
    }

    a {
        word-break: break-word; /* Prevent long URLs from forcing scroll */
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto; /* Defensive: if any table added later */
    }
}

@media (max-width: 480px) {
    .privacy-container h1 { font-size: 1.4rem; }
    .privacy-container h2 { font-size: 1.15rem; }
    .privacy-container h3 { font-size: 1rem; }
    .privacy-container { font-size: 0.9rem; }
}
