/* Legal Pages Styles - Matches existing design patterns */

:root {
    --primary-blue: #0077B6;
    --secondary-teal: #20B2AA;
    --accent-orange: #FF7E5F;
    --background-white: #FFFFFF;
    --background-gray: #F8F9FA;
    --text-charcoal: #333333;
    --dentist-blue: #2193b0;
    --dentist-light-blue: #6dd5ed;
    --dentist-orange: #ff7e5f;
    --gradient-blue: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-normal: all 0.3s ease;
}

/* Legal Page Container */
.legal-page {
    background: var(--background-gray);
    min-height: 100vh;
    padding: 120px 0 80px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Legal Page Header */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.legal-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(33, 147, 176, 0.1);
    color: var(--dentist-blue);
    border-radius: var(--border-radius-lg);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.legal-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 20px;
    line-height: 1.2;
}

.legal-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(33, 147, 176, 0.1);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-blue);
}

.section-content {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

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

.section-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.section-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.section-content strong {
    color: var(--text-charcoal);
    font-weight: 600;
}

.section-content a {
    color: var(--dentist-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-normal);
}

.section-content a:hover {
    border-bottom-color: var(--dentist-blue);
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(33, 147, 176, 0.05) 0%, rgba(109, 213, 237, 0.05) 100%);
    border-left: 4px solid var(--dentist-blue);
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--border-radius-sm);
}

.highlight-box.warning {
    background: linear-gradient(135deg, rgba(255, 126, 95, 0.05) 0%, rgba(255, 180, 77, 0.05) 100%);
    border-left-color: var(--dentist-orange);
}

.highlight-box.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-left-color: #2ecc71;
}

.highlight-box-title {
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 10px;
    font-size: 16px;
}

/* Contact Section */
.legal-contact {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    text-align: center;
}

.legal-contact-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 20px;
}

.legal-contact-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dentist-blue);
    font-weight: 500;
}

.contact-item i {
    font-size: 18px;
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin-top: 40px;
}

.back-to-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-blue);
    color: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--box-shadow-sm);
}

.back-to-home .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
}

/* Last Updated */
.last-updated {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-container {
        padding: 0 15px;
    }
    
    .legal-header {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .legal-title {
        font-size: 32px;
    }
    
    .legal-subtitle {
        font-size: 16px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-contact {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .legal-title {
        font-size: 28px;
    }
    
    .legal-subtitle {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-content {
        font-size: 15px;
    }
} 