/* Legal Page Styles */

/* Hide scrollbar for navigation */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Mobile responsive navigation */
@media (max-width: 640px) {
    .legal-nav-link {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Scroll margin for smooth navigation */
.js-legal-section {
    scroll-margin-top: 140px;
}

@media (min-width: 768px) {
    .js-legal-section {
        scroll-margin-top: 120px;
    }
}

/* Legal page specific styles */
.legal-gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.legal-card {
    transition: all 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Section icons */
.legal-section-icon {
    background: linear-gradient(135deg, var(--icon-bg-start), var(--icon-bg-end));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
}

/* Data collection cards */
.data-collection-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.5rem;
}

.data-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
    margin-bottom: 0.75rem;
}

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

.data-item-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #3b82f6;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.data-item-content h4 {
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.25rem;
}

.data-item-content p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Success message */
.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 1rem;
}

.success-message p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #166534;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .legal-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .legal-section-icon {
        align-self: flex-start;
    }

    .data-collection-card {
        padding: 1rem;
    }

    .data-item {
        padding: 0.5rem;
    }
}