.legal-page {
    align-items: flex-start;
    overflow-y: auto;
}

.legal-card {
    margin: 1.5rem auto;
    max-width: 52rem;
}

.legal-content {
    text-align: left;
    line-height: 1.6;
}

.legal-content h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
    color: #fff;
}

.legal-content p,
.legal-content li {
    color: rgba(238, 238, 238, 0.92);
    font-size: 0.95rem;
}

.legal-content ul {
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.legal-content a {
    color: #7eb8ff;
}

.legal-updated {
    font-size: 0.85rem;
    color: rgba(238, 238, 238, 0.65);
    margin-bottom: 1rem;
}

.legal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legal-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.legal-links-inline a {
    color: rgba(238, 238, 238, 0.75);
    font-size: 0.85rem;
    text-decoration: underline;
}

.legal-links-inline a:hover {
    color: #fff;
}

.profile-rgpd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.profile-rgpd-hint {
    font-size: 0.9rem;
    color: var(--app-text-muted);
    margin: 0.5rem 0 0;
}

.profile-delete-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--app-border-subtle);
}

.profile-delete-form[hidden] {
    display: none !important;
}

footer .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .footer-legal-links a {
    color: var(--app-text-muted);
    text-decoration: underline;
}

footer .footer-legal-links a:hover {
    color: #fff;
}
