/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 80px;
    background: #ffffff;
}

.legal-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.legal-intro {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.legal-body h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.legal-body h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
}

.legal-body h4 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin: 1.5rem 0 0.5rem 0;
}

.legal-body p {
    margin-bottom: 1.5rem;
}

.legal-body ul,
.legal-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-body li {
    margin-bottom: 0.8rem;
}

/* Contact Box */
.contact-box {
    background: #f8f9fa;
    border: 2px solid #2c5aa0;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.contact-box p {
    margin-bottom: 1rem;
}

.contact-box a {
    color: #2c5aa0;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Highlight Boxes */
.highlight-box,
.data-list,
.security-measures,
.authority-info {
    background: #f8f9fa;
    border-left: 4px solid #2c5aa0;
    border-radius: 0 10px 10px 0;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3,
.data-list h4,
.security-measures h4,
.authority-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c5aa0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.right-item,
.right {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s;
}

.right-item:hover,
.right:hover {
    border-color: #2c5aa0;
}

.right-item i,
.right i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.right-item h4,
.right h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.right-item p,
.right p {
    color: #666;
    margin: 0;
}

/* Cookie Categories */
.cookie-categories {
    margin: 2rem 0;
}

.cookie-category {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.cookie-category:hover {
    border-color: #2c5aa0;
}

.category-header {
    background: #f8f9fa;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-header i {
    font-size: 2rem;
    color: #2c5aa0;
}

.category-header h3 {
    flex: 1;
    margin: 0;
    color: #2c3e50;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status.required {
    background: #e74c3c;
    color: white;
}

.status.optional {
    background: #f39c12;
    color: white;
}

.cookie-category > p {
    padding: 0 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.cookie-details {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
    padding-top: 1rem;
}

.cookie-details h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cookie-details ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.cookie-details p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

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

.management-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s;
}

.management-option:hover {
    border-color: #2c5aa0;
}

.management-option i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.management-option h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.management-option p {
    color: #666;
    margin: 0;
}

.settings-button-container {
    text-align: center;
    margin: 3rem 0;
}

/* Browser Settings */
.browser-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.browser {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.browser i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.browser h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.browser p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Third Party Cookies */
.third-party-cookies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.third-party {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    transition: border-color 0.3s;
}

.third-party:hover {
    border-color: #2c5aa0;
}

.third-party i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.third-party h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.third-party ul {
    margin: 1rem 0;
}

.third-party a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.third-party a:hover {
    text-decoration: underline;
}

/* Cookie Explanation */
.cookie-explanation {
    background: #e8f5e8;
    border-left: 4px solid #27ae60;
    border-radius: 0 10px 10px 0;
    padding: 2rem;
    margin: 2rem 0;
}

.cookie-explanation h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Payment Terms Grid */
.payment-terms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.term-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.term-item i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.term-item h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.term-item p {
    color: #666;
    margin: 0;
}

/* Warranty Info */
.warranty-info,
.liability-limits,
.data-protection {
    background: #fff3cd;
    border: 2px solid #f0ad4e;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.warranty-info h3,
.liability-limits h3,
.data-protection h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #f0ad4e;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.impact-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
}

.impact-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.impact-item h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.impact-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

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

/* Update Info */
.update-info {
    background: #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin: 3rem 0 0 0;
    font-weight: 500;
    color: #2c3e50;
}

.update-info p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .legal-body {
        font-size: 1rem;
    }
    
    .legal-body h2 {
        font-size: 1.6rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-management {
        grid-template-columns: 1fr;
    }
    
    .browser-settings {
        grid-template-columns: 1fr;
    }
    
    .third-party-cookies {
        grid-template-columns: 1fr;
    }
    
    .payment-terms {
        grid-template-columns: 1fr;
    }
    
    .impact-info {
        grid-template-columns: 1fr;
    }
    
    .rights-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-intro {
        font-size: 1.1rem;
    }
    
    .legal-body h2 {
        font-size: 1.5rem;
    }
    
    .contact-box,
    .highlight-box,
    .data-list,
    .security-measures,
    .authority-info,
    .cookie-explanation,
    .warranty-info,
    .liability-limits,
    .data-protection {
        padding: 1.5rem;
    }
}