/* Legal Pages Styles */
.legal-section {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.legal-header {
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.legal-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.update-date {
    color: #7f8c8d;
    font-size: 0.95rem;
    font-style: italic;
}

.legal-body {
    line-height: 1.8;
    color: #34495e;
}

.legal-body h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.legal-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #4CAF50;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.legal-body p {
    margin-bottom: 15px;
}

.legal-body ul, .legal-body ol {
    margin: 15px 0 20px 20px;
}

.legal-body li {
    margin-bottom: 10px;
}

.legal-body a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.legal-body a:hover {
    text-decoration: underline;
}

.legal-body strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background: #e8f5e9;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-box.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.info-box i {
    font-size: 1.5rem;
    color: #4CAF50;
    flex-shrink: 0;
    margin-top: 3px;
}

.info-box.warning i {
    color: #ff9800;
}

.info-box p {
    margin: 0;
}

/* Principle Grid (Data Protection) */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.principle-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

.principle-card i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.principle-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.principle-card p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

/* Data Types */
.data-types {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.data-type {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.data-type h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4CAF50;
}

.data-type h3 i {
    font-size: 1.3rem;
}

.data-type ul {
    margin: 10px 0 0 0;
    list-style: none;
    padding: 0;
}

.data-type li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.data-type li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Security Measures */
.security-measures {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.security-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: flex-start;
}

.security-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    flex-shrink: 0;
    margin-top: 3px;
}

.security-item h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.security-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Rights Section */
.rights-section {
    margin: 30px 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.right-item {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.right-item i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

.right-item h4 {
    margin: 10px 0 5px 0;
    font-size: 1rem;
}

.right-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.rights-cta {
    text-align: center;
    margin-top: 25px;
    font-size: 1.05rem;
}

/* Third Party Services */
.third-party-services {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    align-items: center;
}

.service-item img,
.service-item i {
    font-size: 2rem;
    color: #4CAF50;
    flex-shrink: 0;
}

.service-item h4 {
    margin: 0 0 5px 0;
}

.service-item p {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
}

.service-item small {
    color: #4CAF50;
    font-weight: 500;
}

/* Cookie Table */
.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.cookie-table th {
    background: #4CAF50;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

.cookie-controls {
    text-align: center;
    margin: 30px 0;
}

.note {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.note i {
    color: #ff9800;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-note {
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.warning-note i {
    color: #f44336;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-body h2 {
        font-size: 1.5rem;
    }

    .legal-body h3 {
        font-size: 1.2rem;
    }

    .principle-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }
}
