/* Legal Pages Specific Styles */

/* Legal Section */
.legal-section {
    padding: 120px 0 80px;
    background-color: #ffffff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Legal Text Styling */
.legal-text {
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 1.75rem;
    color: #1e40af;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-text h3 {
    font-size: 1.375rem;
    color: #374151;
    margin: 2rem 0 0.75rem;
}

.legal-text h4 {
    font-size: 1.125rem;
    color: #4b5563;
    margin: 1.5rem 0 0.5rem;
}

.legal-text p {
    margin-bottom: 1.25rem;
    color: #374151;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #374151;
}

.legal-text strong {
    color: #1e40af;
    font-weight: 600;
}

.legal-text a {
    color: #2563eb;
    text-decoration: underline;
}

.legal-text a:hover {
    color: #1d4ed8;
}

/* Cookies Table */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cookies-table th,
.cookies-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.cookies-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1e40af;
}

.cookies-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.cookies-table tr:hover {
    background-color: #f3f4f6;
}

/* Cookie Preferences Panel */
.cookie-preferences-panel {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin: 1.5rem 0;
    text-align: center;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: #16a34a;
    margin-bottom: 1rem;
}

.thank-you-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 3rem;
}

.thank-you-details {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.thank-you-details h2 {
    color: #1e40af;
    margin-bottom: 2rem;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.expectation-item {
    text-align: left;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.expectation-item h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.expectation-item p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.thank-you-next-steps {
    margin-bottom: 3rem;
}

.thank-you-next-steps h2 {
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.next-steps-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-contact {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.thank-you-contact p {
    margin-bottom: 0;
    color: #4b5563;
}

.thank-you-contact a {
    color: #2563eb;
    font-weight: 500;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-section {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 0 20px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.25rem;
    }
    
    .cookies-table {
        font-size: 0.8rem;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem;
    }
    
    .thank-you-section {
        padding: 100px 0 60px;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .expectations-grid {
        grid-template-columns: 1fr;
    }
    
    .next-steps-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 80px 0 40px;
    }
    
    .legal-content {
        padding: 0 15px;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-text h2 {
        font-size: 1.375rem;
    }
    
    .legal-text h3 {
        font-size: 1.125rem;
    }
    
    .cookies-table {
        font-size: 0.75rem;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 0.4rem;
    }
    
    .thank-you-section {
        padding: 80px 0 40px;
    }
    
    .thank-you-content h1 {
        font-size: 1.75rem;
    }
    
    .thank-you-details {
        padding: 1.5rem;
    }
    
    .expectation-item {
        padding: 0.75rem;
    }
}
