/* Legal Pages Styles - Separate CSS file */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.legal-page {
    padding: 120px 0 80px;
    background: #F6F8FB;
    min-height: 100vh;
    display: block;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: block;
}

.legal-header {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    display: block;
}

.legal-content h1 {
    color: #000000 !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.legal-content h2 {
    color: #000000 !important;
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #00B5C4;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.legal-content h3 {
    color: #000000 !important;
    font-size: 1.2rem;
    margin: 30px 0 15px 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.legal-content p {
    margin-bottom: 20px;
    color: #000000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.legal-content ul, .legal-content ol {
    margin: 20px 0;
    padding-left: 30px;
    display: block;
}

.legal-content li {
    margin-bottom: 10px;
    color: #000000 !important;
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00B5C4;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0A2E65;
}

.last-updated {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #00B5C4;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.contact-info h3 {
    color: #0A2E65;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.highlight {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}

.table-of-contents {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    color: #0A2E65;
    margin-bottom: 20px;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #00B5C4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #0A2E65;
}

.company-info {
    background: #e8f4f8;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #00B5C4;
}

.company-info h3 {
    color: #0A2E65;
    margin-bottom: 20px;
}

.company-info p {
    margin-bottom: 10px;
    font-weight: 500;
}

.technical-info {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: table;
}

.data-table th {
    background: #0A2E65;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    display: table-cell;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    display: table-cell;
}

.data-table tr {
    display: table-row;
}

.data-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Mobile overflow handling for legal tables */
.legal-content {
    overflow-x: auto;
}

.legal-content .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.legal-content .data-table thead,
.legal-content .data-table tbody,
.legal-content .data-table tr,
.legal-content .data-table th,
.legal-content .data-table td {
    white-space: nowrap;
}

.rights-section {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
}

.consent-form {
    background: #e8f4f8;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.consent-form h3 {
    color: #0A2E65;
    margin-bottom: 20px;
}

.consent-form p {
    margin-bottom: 15px;
}

.consent-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.consent-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.rgpd-highlight {
    background: #e8f4f8;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #00B5C4;
}

.rgpd-highlight h3 {
    color: #0A2E65;
    margin-bottom: 15px;
}

.rgpd-highlight p {
    margin-bottom: 10px;
}

/* Header styles for legal pages */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 46, 101, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo a {
    font-size: 28px;
    font-weight: 700;
    color: #0A2E65;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #00B5C4;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0A2E65;
}

.cta-button {
    background: linear-gradient(135deg, #0A2E65, #00B5C4);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 46, 101, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 46, 101, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #0A2E65;
    transition: all 0.3s ease;
}

/* Footer styles for legal pages */
.footer {
    background: #0A2E65;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 24px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00B5C4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}
