/* Legal Pages Styles */
.legal-page {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    background: var(--bg-color);
    color: var(--text-color);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.legal-last-updated {
    text-align: center;
    color: var(--text-color-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-section {
    line-height: 1.7;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section strong {
    font-weight: 600;
    color: var(--primary-color);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: var(--primary-color);
}

/* Company Info Boxes */
.company-info,
.contact-info,
.company-details,
.representative-info,
.register-info,
.tax-info,
.authority-info,
.content-responsible,
.delivery-times,
.pricing {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 1rem 0;
}

.company-info p,
.contact-info p,
.company-details p,
.representative-info p,
.register-info p,
.tax-info p,
.authority-info p,
.content-responsible p,
.delivery-times p,
.pricing p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.company-info p:last-child,
.contact-info p:last-child,
.company-details p:last-child,
.representative-info p:last-child,
.register-info p:last-child,
.tax-info p:last-child,
.authority-info p:last-child,
.content-responsible p:last-child,
.delivery-times p:last-child,
.pricing p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .legal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .company-info,
    .contact-info,
    .company-details,
    .representative-info,
    .register-info,
    .tax-info,
    .authority-info,
    .content-responsible,
    .delivery-times,
    .pricing {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .legal-page {
        background: white;
        color: black;
    }
    
    .legal-content {
        box-shadow: none;
        background: white;
    }
    
    .legal-title,
    .legal-section h2,
    .legal-section strong {
        color: black;
    }
    
    .company-info,
    .contact-info,
    .company-details,
    .representative-info,
    .register-info,
    .tax-info,
    .authority-info,
    .content-responsible,
    .delivery-times,
    .pricing {
        background: #f9f9f9;
        border-left-color: #333;
    }
}
