/* ===== Legal Pages Styles ===== */

/* Page Header */
.page-header {
    margin-top: 70px;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legal-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><rect x="5" y="5" width="20" height="20" fill="none" stroke="%23ccb39a" stroke-width="1" stroke-opacity="0.08"/><circle cx="15" cy="15" r="2" fill="%239f7eae" fill-opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23legal-pattern)"/></svg>');
    pointer-events: none;
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.separator {
    color: var(--text-muted);
}

.current {
    color: var(--dark-color);
    font-weight: 500;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    color: var(--primary-color);
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.last-updated {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

/* Legal Navigation */
.legal-nav {
    padding: 1.5rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--background);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 500;
}

.nav-tab:hover {
    background: var(--light-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.nav-tab i {
    font-size: 1rem;
}

/* Content Layout */
.legal-content {
    padding: 3rem 0;
    background: var(--white);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.sidebar-nav h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.nav-list {
    list-style: none;
    padding: 0;
}

.nav-list li {
    margin-bottom: 0.5rem;
}

.nav-list a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--light-color);
    color: var(--secondary-color);
}

/* Quick Actions */
.quick-actions {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.quick-actions h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.action-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.action-button:last-child {
    margin-bottom: 0;
}

.action-button:hover {
    background: var(--light-color);
    color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.action-button i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Main Content */
.main-content {
    min-height: 800px;
}

.legal-document {
    background: var(--white);
    max-width: none;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.content-section h2 {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.content-section h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.content-section h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.important-notice i {
    color: #856404;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.important-notice p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.use-case:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.use-case-content h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.use-case-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Sharing Rules */
.sharing-rules {
    margin: 2rem 0;
}

.rule-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.rule-item h4 {
    color: var(--dark-color);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rule-item h4 i {
    color: var(--primary-color);
}

.rule-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.measure-category {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.measure-category h4 {
    color: var(--secondary-color);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.measure-category ul {
    margin: 0;
    padding-left: 1.5rem;
}

.measure-category li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Security Notice */
.security-notice {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.security-notice i {
    color: #721c24;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.security-notice p {
    color: #721c24;
    margin: 0;
    font-weight: 500;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cookie-type {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cookie-type h4 {
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
}

.cookie-type p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* User Rights */
.user-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.right-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.right-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.right-content h4 {
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
}

.right-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Action Section */
.action-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.action-section h4 {
    color: var(--dark-color);
    margin: 0 0 1rem 0;
}

.action-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-method:hover {
    background: var(--background);
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Children Protection */
.children-protection {
    margin: 2rem 0;
}

.protection-rule {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
}

.protection-rule h4 {
    color: var(--dark-color);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.protection-rule h4 i {
    color: var(--accent-color);
}

.protection-rule p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Update Process */
.update-process {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.update-process li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.update-process li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
}

.contact-details p {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.contact-details small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Deletion Notice */
.deletion-notice {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #2196f3;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.deletion-notice h4 {
    color: #1565c0;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deletion-notice h4 i {
    color: #2196f3;
}

.deletion-notice p {
    color: #1565c0;
    margin-bottom: 1rem;
}

.deletion-notice ul {
    color: #1565c0;
    margin: 1rem 0;
}

.deletion-notice li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-tab {
        width: 200px;
        justify-content: center;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-sidebar {
        position: static;
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .security-measures {
        grid-template-columns: 1fr;
    }
    
    .cookie-types {
        grid-template-columns: 1fr;
    }
    
    .user-rights {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .important-notice,
    .security-notice,
    .deletion-notice {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .use-case,
    .right-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .legal-content {
        padding: 2rem 0;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .sidebar-nav,
    .quick-actions {
        padding: 1rem;
    }
    
    .action-section {
        padding: 1.5rem;
    }
} 