/* Privacy Policy specific styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
header {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-links a:hover, .nav-links a.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Main Content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

h2 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.5rem;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

h3 {
    color: #2c3e50;
    margin: 25px 0 12px 0;
    font-size: 1.2rem;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul, ol {
    margin: 15px 0 15px 30px;
}

li {
    margin-bottom: 8px;
}

strong {
    color: #2c3e50;
}

.highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.highlight-box h3 {
    color: #2980b9;
    margin-top: 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info h3 {
    color: #2c3e50;
    margin-top: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3498db;
    color: white;
    padding: 12px 16px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    .content {
        padding: 20px;
    }

    .container {
        padding: 20px 10px;
    }
}

/* Print styles */
@media print {
    header, .back-to-top {
        display: none;
    }
    
    .content {
        box-shadow: none;
        padding: 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: auto;
    margin-right: 1rem;
}

.language-selector-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.language-selector-toggle:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.5);
}

/* JavaScript-controlled flag display */
.language-flag {
    display: inline-block;
    width: auto;
    height: auto;
    min-width: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Emoji support - use system fonts */
.language-flag.emoji-support {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne", "Twemoji Mozilla", sans-serif;
}

/* No emoji support - use colored circles */
.language-flag.no-emoji.flag-us { color: #B22234 !important; }
.language-flag.no-emoji.flag-cz { color: #d7141a !important; }
.language-flag.no-emoji.flag-de { color: #666666 !important; }
.language-flag.no-emoji.flag-gb { color: #012169 !important; }
.language-flag.no-emoji.flag-es { color: #c60b1e !important; }
.language-flag.no-emoji.flag-mx { color: #006847 !important; }
.language-flag.no-emoji.flag-fr { color: #0055a4 !important; }
.language-flag.no-emoji.flag-ca { color: #ff0000 !important; }
.language-flag.no-emoji.flag-it { color: #009246 !important; }
.language-flag.no-emoji.flag-jp { color: #bc002d !important; }
.language-flag.no-emoji.flag-kr { color: #c60c30 !important; }
.language-flag.no-emoji.flag-pl { color: #dc143c !important; }
.language-flag.no-emoji.flag-br { color: #009739 !important; }
.language-flag.no-emoji.flag-ru { color: #d52b1e !important; }
.language-flag.no-emoji.flag-sk { color: #0b4ea2 !important; }
.language-flag.no-emoji.flag-ua { color: #005bbb !important; }
.language-flag.no-emoji.flag-cn { color: #de2910 !important; }

.language-name {
    display: none;
}

.dropdown-arrow {
    font-size: 0.8rem;
    opacity: 0.7;
}

.language-selector-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.language-selector-dropdown li {
    margin: 0;
}

.language-selector-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.language-selector-dropdown a:hover {
    background: rgba(52, 152, 219, 0.1);
}

.language-selector-dropdown a.active {
    background: rgba(52, 152, 219, 0.15);
    color: #2980b9;
    font-weight: 600;
}

.language-selector-dropdown .language-flag {
    font-size: 1.2rem;
    width: auto;
    height: auto;
    min-width: 1.2rem;
}

.language-selector-dropdown .language-name {
    display: block;
}

/* Responsive Design for Language Selector */
@media (min-width: 769px) {
    .language-selector-toggle .language-name {
        display: inline;
    }
}

@media (max-width: 768px) {
    .language-selector {
        margin-right: 0.5rem;
    }
    
    .language-selector-toggle {
        padding: 0.5rem 0.75rem;
    }
    
    .language-selector-dropdown {
        right: -10px;
    }
}