:root {
    --primary-color: var(--bs-warning);
    --text-color: #2c2c2c;
    --muted-color: #6c757d;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --border-radius: 10px;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body, .bg-light {
    background-color: var(--bg-color) !important;
    color: var(--text-color);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    scroll-behavior: smooth;
}

.privacy-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* ===== Main Content ===== */
.privacy-container {
    max-width: 900px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 50px 60px;
}

.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.last-updated {
    text-align: center;
    font-size: 15px;
    color: var(--muted-color);
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.policy-text, .policy-list, .note {
    font-size: 17px;
    color: var(--text-color);
}

.policy-list {
    margin-left: 25px;
    margin-bottom: 20px;
}

.note {
    background-color: rgba(255, 175, 31, 0.15);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 6px;
    font-style: italic;
    color: var(--bs-warning);
}

.policy-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .policy-link:hover {
        color: #1565c0;
        text-decoration: underline;
    }

/* ===== Floating Table of Contents ===== */
.toc {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 20px 25px;
    width: 250px;
    height: fit-content;
}

    .toc h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .toc ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

        .toc ul li {
            margin-bottom: 10px;
        }

    .toc a {
        text-decoration: none;
        color: var(--text-color);
        font-size: 16px;
        transition: color 0.2s ease;
    }

        .toc a:hover,
        .toc a.active {
            color: var(--primary-color);
            font-weight: 500;
        }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .privacy-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .toc {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 30px;
    }

        .toc h3 {
            text-align: center;
        }

        .toc ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
        }

            .toc ul li {
                margin-bottom: 0;
            }
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 30px 20px;
    }

    .page-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 20px;
    }
}

html {
    scroll-behavior: smooth;
}
