/* Legal Pages Styling - Consistent with other pages */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a5c 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header .effective-date,
.page-header .last-updated {
    font-size: 16px;
    opacity: 0.9;
    margin: 5px 0;
}

.page-header .last-updated {
    color: var(--accent-color);
    font-weight: 600;
}

.content-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.content-box {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-box h2 {
    color: var(--primary-blue);
    font-size: 36px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h3 {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
}

.content-box h4 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-box p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.content-box ul,
.content-box ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.content-box li {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.content-box strong {
    color: #333;
    font-weight: 600;
}

.content-box a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-box a:hover {
    color: var(--accent-color);
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-left: 5px solid var(--accent-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.highlight-box p {
    margin-bottom: 12px;
    color: #333;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
    border-left: 5px solid #2196F3;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.info-box p {
    margin-bottom: 12px;
    color: #333;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box ul {
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1) 0%, rgba(255, 87, 34, 0.05) 100%);
    border-left: 5px solid #FF5722;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.warning-box p {
    margin-bottom: 12px;
    color: #333;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

.warning-box ul {
    margin-bottom: 0;
}

/* Success Box */
.success-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-left: 5px solid #4CAF50;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.success-box p {
    margin-bottom: 12px;
    color: #333;
}

.success-box p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a5c 100%);
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    color: white;
}

.contact-section h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 32px;
}

.contact-section p {
    margin-bottom: 15px;
    color: white;
    font-size: 17px;
}

.contact-section a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-section a:hover {
    color: #ffca28;
}

/* Table Styling */
.content-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-box table th {
    background: var(--primary-blue);
    color: white;
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 17px;
}

.content-box table td {
    padding: 15px 18px;
    border-bottom: 1px solid #e9ecef;
    color: #555;
    font-size: 16px;
}

.content-box table tr:last-child td {
    border-bottom: none;
}

.content-box table tr:hover {
    background-color: #f8f9fa;
}

/* Section Divider */
.section-divider {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 50px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header .effective-date,
    .page-header .last-updated {
        font-size: 14px;
    }

    .content-box {
        padding: 30px;
    }

    .content-box h2 {
        font-size: 28px;
    }

    .content-box h3 {
        font-size: 24px;
    }

    .content-box h4 {
        font-size: 20px;
    }

    .content-box p,
    .content-box li {
        font-size: 16px;
    }

    .contact-section {
        padding: 30px;
    }

    .contact-section h3 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 30px;
    }

    .content-box {
        padding: 20px;
    }

    .content-box h2 {
        font-size: 24px;
    }

    .content-box h3 {
        font-size: 20px;
    }

    .content-box h4 {
        font-size: 18px;
    }

    .content-box p,
    .content-box li {
        font-size: 15px;
    }

    .highlight-box,
    .info-box,
    .warning-box,
    .success-box {
        padding: 20px;
    }

    .contact-section {
        padding: 25px;
    }
}
