/* Legal Pages (Terms & Privacy) Styles */

/* Override app.css body styles to allow scrolling */
body {
    height: auto !important;
    min-height: 100vh;
    overflow: auto !important;
}

/* Sticky header */
.top-header-bar {
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

/* Sticky footer */
.site-footer {
    position: sticky !important;
    bottom: 0;
    z-index: 1000;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    background: #ffffff;
}

.legal-content {
    line-height: 1.8;
    color: #333;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
    font-weight: 700;
    border-bottom: 3px solid #7c3aed;
    padding-bottom: 0.5rem;
}

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

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
    border-left: 4px solid #7c3aed;
    padding-left: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
    color: #444;
}

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

.legal-section li {
    margin-bottom: 0.75rem;
    color: #444;
    line-height: 1.7;
}

.legal-section li strong {
    color: #333;
    font-weight: 600;
}

.legal-section a {
    color: #7c3aed;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.legal-section a:hover {
    border-bottom-color: #7c3aed;
}

.legal-section small {
    color: #666;
    font-size: 0.85rem;
}

/* Important notice box */
.important-notice {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.important-notice strong {
    color: #ff9800;
}

/* Summary box at the end */
.summary-box {
    background: #f5f3ff;
    border: 2px solid #7c3aed;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.summary-box h2 {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
    color: #7c3aed;
}

.summary-box ul {
    margin-bottom: 0;
}

.summary-box li {
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px 15px 40px;
    }

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

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

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .summary-box {
        padding: 1.5rem;
    }
}
