/* ========================================
   COMPLIANCE STYLES
   For ACA landing page required elements
   ======================================== */

/* Fix body layout to stack disclaimer and quiz vertically */
body {
    display: block !important;
    padding: 0;
    min-height: 100vh;
}

/* Center the quiz container */
.quiz-container {
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ACA Website Identity Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #0066cc;
    padding: 1rem 1.5rem;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
}

.disclaimer-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

.disclaimer-banner strong {
    color: #0066cc;
}

/* Eligibility Disclaimer (Before Phone Number) */
.eligibility-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.eligibility-disclaimer p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #856404;
}

.eligibility-disclaimer strong {
    color: #664d03;
}

/* TCPA Consent Checkbox */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consent-checkbox:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

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

.consent-checkbox span {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #495057;
}

/* Disabled call button until consent */
.call-btn-large {
    pointer-events: auto;
}

/* Legal Footer */
.legal-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2.5rem 0 1.5rem;
    margin-top: 0;
    text-align: center;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Disclaimer */
.top-disclaimer {
    margin-bottom: 2.5rem;
    padding: 0;
}

.top-disclaimer p {
    font-size: 0.7rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Company Information */
.company-info {
    margin-bottom: 2.5rem;
    padding: 0;
}

.company-name {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    color: #fff;
}

.company-address,
.company-contact,
.license-info {
    font-size: 0.85rem;
    margin: 0.4rem 0;
    color: #bdc3c7;
    line-height: 1.5;
}

.license-info {
    margin-top: 0.75rem;
}

/* Footer Legal Nav (at bottom) */
.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin: 0;
    margin-bottom: 1.5rem;
    padding: 0;
}

.footer-legal-nav a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-legal-nav a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* General Disclaimers (ACA + Medical combined) */
.general-disclaimers {
    margin-bottom: 2.5rem;
    padding: 0;
}

.general-disclaimers p {
    font-size: 0.75rem;
    color: #95a5a6;
    line-height: 1.6;
    margin: 0 0 0.85rem 0;
}

.general-disclaimers p:last-child {
    margin-bottom: 0;
}

/* SSL Security Notice */
.security-notice {
    text-align: center;
    padding: 0;
    margin-bottom: 2.5rem;
    font-size: 0.8rem;
    color: #27ae60;
}

/* Medicare-Specific Disclaimer (for multiplan pages) */
.medicare-disclaimer {
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: #1a252f;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.medicare-disclaimer p {
    font-size: 0.75rem;
    color: #bdc3c7;
    line-height: 1.6;
    margin: 0;
}

.medicare-disclaimer p strong {
    color: #3498db;
}

/* Website Identity Disclaimer */
.website-identity-disclaimer {
    margin-bottom: 2.5rem;
    padding: 0;
}

.website-identity-disclaimer p {
    font-size: 0.7rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.website-identity-disclaimer p strong {
    color: #95a5a6;
}

/* Copyright */
.copyright {
    margin-top: 0.5rem;
    padding: 0;
    text-align: center;
}

.copyright p {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .quiz-container {
        min-height: 80vh;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .disclaimer-banner {
        padding: 0.75rem 1rem;
    }

    .disclaimer-banner p {
        font-size: 0.8rem;
    }

    .consent-checkbox {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .consent-checkbox span {
        font-size: 0.75rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-legal-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .company-info p {
        font-size: 0.8rem;
    }
}

/* Print Styles (for record keeping) */
@media print {
    .disclaimer-banner,
    .legal-footer {
        display: block !important;
    }
}
