/* ===================================
   LEGAL PAGES STYLES
   =================================== */

.legal-page {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    min-height: 100vh;
}

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

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--info-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-button:hover {
    gap: 12px;
    color: var(--primary-color);
}

.legal-header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 3px solid var(--gray-200);
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.legal-header h1 i {
    color: var(--primary-color);
}

.last-updated {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-style: italic;
}

.gdpr-badge {
    display: inline-block;
    background: var(--gradient-success);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 10px;
}

.gdpr-badge i {
    margin-right: 5px;
}

.guarantee-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.legal-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.legal-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}

.legal-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 20px;
    margin-bottom: 10px;
}

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

.legal-body ul,
.legal-body ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

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

.legal-body a {
    color: var(--info-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-body a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-body strong {
    color: var(--dark);
    font-weight: 600;
}

.warning {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.warning i {
    color: var(--warning-color);
    margin-right: 8px;
}

.info-box {
    padding: 20px 25px;
    border-radius: 12px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

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

.info-box.success {
    background: #d1fae5;
    border-left: 4px solid var(--success-color);
}

.info-box.success i {
    color: var(--success-color);
}

.info-box.warning {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
}

.info-box.warning i {
    color: var(--warning-color);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.legal-table thead {
    background: var(--gradient-primary);
    color: white;
}

.legal-table th,
.legal-table td {
    padding: 15px;
    text-align: left;
}

.legal-table tbody tr:nth-child(even) {
    background: var(--gray-100);
}

.legal-table tbody tr:hover {
    background: var(--gray-200);
}

.check-list {
    list-style: none;
    margin-left: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.cross-list {
    list-style: none;
    margin-left: 0;
}

.cross-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cross-list i {
    color: var(--danger-color);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.timeline {
    margin: 40px 0;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    height: calc(100% + 10px);
    width: 2px;
    background: var(--gray-300);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 5px 0;
}

.timeline-content p {
    color: var(--gray-600);
    margin: 0;
}

.examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}

.example-card {
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.example-card.accepted {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border-left: 4px solid var(--success-color);
}

.example-card.rejected {
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
    border-left: 4px solid var(--danger-color);
}

.example-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.example-card.accepted h4 {
    color: var(--success-color);
}

.example-card.rejected h4 {
    color: var(--danger-color);
}

.example-card ul {
    margin-left: 0;
    list-style: none;
}

.example-card li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.faq-refund {
    margin: 30px 0;
}

.faq-refund details {
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-refund summary {
    padding: 18px 20px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-refund summary::marker {
    color: var(--primary-color);
}

.faq-refund summary:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.faq-refund details[open] summary {
    background: var(--gradient-primary);
    color: white;
}

.faq-refund details p {
    padding: 15px 20px;
    margin: 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.legal-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-200);
    flex-wrap: wrap;
}

.legal-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--info-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legal-footer a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
        border-radius: 0;
    }

    .legal-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 10px;
    }

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

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

    .examples {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: row;
        gap: 15px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-item:not(:last-child)::after {
        left: 20px;
    }

    .legal-footer {
        gap: 15px;
    }

    .guarantee-badge {
        font-size: 1rem;
        padding: 12px 20px;
    }
}
