/* legal.css - Shared styles for all legal documents */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: rgb(215, 55, 80);
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --card-bg: #f9f9f9;
}

/* Dark theme class - applied via JavaScript */
body.dark-theme {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --card-bg: #1a1a1a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Language Switcher */
.lang-switcher {
    display: none; /* Hidden by defaault */
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: var(--border-color);
}

/* Content */
.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.toc {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.toc-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    padding: 8px 0;
}

.toc-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.toc-list a:hover {
    opacity: 0.7;
}

/* Sections */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-top: 20px;
}

.section-content {
    color: var(--text-color);
    line-height: 1.8;
}

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

.section-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

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

/* Footer */
.footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.contact-info {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-item {
    margin: 8px 0;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}