/* Legal Pages Shared Styles */

.legal-page {
    min-height: 100vh;
    background: #f7f9fc;
    padding-top: 120px;
}

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

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.legal-header .subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

.legal-date {
    color: #666;
    font-size: 14px;
}

.last-updated {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #1e3a5f;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #1e3a5f;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.contact-info {
    background: #f0f4f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #1e40af;
}

.back-link svg {
    margin-right: 8px;
}

/* Cookie Settings Specific */
.cookie-intro {
    margin-bottom: 40px;
    padding: 25px;
    background: #f3f4f6;
    border-radius: 8px;
}

.cookie-intro p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0;
}

.cookie-section {
    margin-bottom: 40px;
}

.cookie-section h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category {
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.category-header {
    padding: 20px;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.category-header:hover {
    background: #f3f4f6;
}

.category-info {
    flex: 1;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.category-description {
    color: #6b7280;
    font-size: 0.95rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: #0071e3;
}

.toggle-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

.category-details {
    padding: 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: none;
}

.category-details.expanded {
    display: block;
}

.cookie-list {
    margin-top: 15px;
}

.cookie-item {
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 10px;
}

.cookie-name {
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.cookie-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.cookie-purpose {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.btn-save, .btn-secondary, .btn-text {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save {
    background: #0071e3;
    color: white;
}

.btn-save:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-text {
    background: none;
    border: 2px solid #e5e7eb;
    color: #374151;
}

.btn-text:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.cookie-notice {
    background: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cookie-notice-icon {
    color: #3b82f6;
    font-size: 1.5rem;
}

.cookie-notice-content {
    flex: 1;
}

.cookie-notice-content p {
    color: #1e40af;
    line-height: 1.6;
    margin: 0;
}

/* Data Deletion Specific */
.data-deletion-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #ef4444;
}

.submit-button {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #1e40af;
}

.info-box {
    background: #eff6ff;
    border: 1px solid #3b82f6;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.info-box p {
    margin: 0;
    color: #1e40af;
}

.important-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .category-header {
        padding: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons button {
        width: 100%;
    }
    
    .legal-content {
        margin: 20px auto;
        padding: 40px 20px 80px;
    }
} 