/* Privacy page specific styles */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-rgb: 79, 70, 229;
    --secondary-color: #f3f4f6;
    --text-color: #374151;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --background-color: #ffffff;
    --card-bg-secondary: #f9fafb;
    --error-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Dark theme variables */
:root[data-theme="dark"] {
    --primary-color: #6366f1;
    --primary-hover: #818cf8;
    --primary-rgb: 99, 102, 241;
    --secondary-color: #1f2937;
    --text-color: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --background-color: #111827;
    --card-bg-secondary: #1a202c;
    --error-color: #f87171;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Suwannaphum', serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.app-header {
    background-color: var(--background-color);
    padding: 1rem 2rem;
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s ease;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

.theme-toggle:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

:root[data-theme="dark"] .theme-toggle i {
    transform: rotate(45deg);
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.privacy-container h1 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.privacy-container h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.privacy-container p, 
.privacy-container li {
    color: var(--text-color);
}

.privacy-container ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-container li {
    margin-bottom: 8px;
}

.emphasis {
    font-weight: 600;
    background-color: rgba(var(--primary-rgb), 0.1);
    padding: 2px 5px;
    border-radius: 4px;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    margin-top: 40px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.user-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 20px 15px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .app-header {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
}
