/* =================================
   Legal Pages Styles
   ================================= */

.legal-content {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.legal-document h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-document p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-document ul,
.legal-document ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-document li {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-document strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-document a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-document a:hover {
    color: var(--primary-dark);
}

.legal-note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 40px 0;
    border-radius: 8px;
}

.legal-note p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.legal-note i {
    color: #ffc107;
    margin-right: 10px;
}

.back-button {
    margin-top: 40px;
    text-align: center;
}

.back-button .btn {
    padding: 14px 32px;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .legal-content {
        padding: 50px 0;
    }
    
    .legal-document {
        padding: 30px 20px;
    }
    
    .legal-document h2 {
        font-size: 24px;
    }
    
    .legal-document h3 {
        font-size: 20px;
    }
    
    .legal-document p,
    .legal-document li {
        font-size: 15px;
    }
}