/* Generated by tools/build_css.py from assets/css. Edit the sources there, not this file. */
/* Legal pages: terms, privacy, acceptable use, contact (templates/fileapp/legal_base.html). */

.legal-container {
    max-width: 800px;
    width: 100%;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: left;
    line-height: 1.6;
}

.legal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.legal-updated {
    opacity: 0.8;
    font-size: 0.95rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
    color: var(--color-white);
}

.legal-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.legal-content ul, .legal-content ol {
    margin: 1rem 0 1rem 1.5rem;
    opacity: 0.9;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--color-white);
    font-weight: 500;
}

.legal-content em {
    font-style: italic;
    opacity: 0.8;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    border-left: 4px solid var(--color-white);
}

.legal-content .legal-link {
    color: var(--color-white);
}

/* Closing "Please note" block (acceptable use policy). */
.legal-content .legal-note {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--color-white);
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 1;
    color: var(--color-white);
}

@media (max-width: 768px) {
    .legal-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .legal-content h3 {
        font-size: 1rem;
    }
}
