/**
 * Yasal Sayfalar Stilleri
 */

.legal-page {
    padding: 60px 0;
    background: var(--bg-secondary, #f8f9fa);
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg, #fff);
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content section {
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--text-secondary);
}

.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 16px 0 10px;
    color: var(--text-secondary);
}

.legal-content p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
    margin: 12px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.legal-content li {
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--main-theme-color);
    text-decoration: underline;
}

.legal-content a:hover {
    text-decoration: none;
}

/* Info Box */
.info-box {
    background: var(--main-theme-bg, #f0f4ff);
    border-left: 4px solid var(--main-theme-color);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.info-box p {
    margin-bottom: 4px;
}

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

/* Highlight Box */
.highlight-box {
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.highlight-box h4 {
    margin-top: 0;
}

.highlight-box--warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
}

.highlight-box--warning p,
.highlight-box--warning li {
    color: #92400e;
}

.highlight-box--info {
    background: #e0f2fe;
    border: 1px solid #0ea5e9;
}

.highlight-box--info p,
.highlight-box--info li {
    color: #0369a1;
}

/* Cookie consent banner stilleri footer.php içinde tanımlıdır — burada tanımlamayın */

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 30px 0;
    }

    .legal-content {
        padding: 30px 24px;
        margin: 0 16px;
        border-radius: 12px;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

}

/* Dark Mode */
.theme-dark .legal-page {
    background: var(--bg-dark, #111827);
}

.theme-dark .legal-content {
    background: var(--card-bg-dark, #1f2937);
}

.theme-dark .info-box {
    background: rgba(79, 92, 204, 0.1);
    border-color: rgba(79, 92, 204, 0.5);
}

.theme-dark .highlight-box--warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.theme-dark .highlight-box--warning p,
.theme-dark .highlight-box--warning li {
    color: #fcd34d;
}

.theme-dark .highlight-box--info {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.theme-dark .highlight-box--info p,
.theme-dark .highlight-box--info li {
    color: #7dd3fc;
}

/* .theme-dark .cookie-consent stilleri footer.php içinde tanımlıdır */
