/* Privacy Policy Document Styles */
:root {
    --primary-text: #333333;
    --secondary-text: #555555;
    --link-color: #0066cc;
    --bg-color: #f9f9f9;
    --paper-color: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-color: #ccc;
}

body {
    font-family: var(--font-family);
    color: var(--primary-text);
    background-color: var(--bg-color);
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--paper-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Establish stacking context for pseudo-element */
    z-index: 1;
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
    /* Reduced slightly to fit better inside content */
    opacity: 0.08;
    z-index: -1;
    /* Behind content but inside container */
    pointer-events: none;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

p {
    margin-bottom: 15px;
    color: var(--secondary-text);
}

ul {
    margin-bottom: 15px;
    color: var(--secondary-text);
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: #222;
}

.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    body {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: var(--secondary-text);
    transition: all 0.2s;
}

.lang-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right: none;
}

.lang-btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.lang-btn.active {
    background-color: var(--link-color);
    color: #fff;
    border-color: var(--link-color);
}

.lang-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

/* Hide content by default */
.lang-content {
    display: none;
}

/* Show active content */
.lang-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}