/* Legal Links Styling */

/* Container for legal links in footer */
.fi-footer .legal-links,
.panels\:\:footer .legal-links {
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(209, 213, 219, 0.5);
}

/* Dark mode border */
.dark .fi-footer .legal-links,
.dark .panels\:\:footer .legal-links {
    border-top-color: rgba(55, 65, 81, 0.5);
}

/* Login page legal links */
.fi-login-panel .legal-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

/* Legal link styling */
.legal-links a {
    color: rgb(107, 114, 128);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    font-size: 0.875rem;
    font-weight: 500;
}

.legal-links a:hover {
    color: rgb(59, 130, 246);
    text-decoration: underline;
}

/* Dark mode links */
.dark .legal-links a {
    color: rgb(156, 163, 175);
}

.dark .legal-links a:hover {
    color: rgb(96, 165, 250);
}

/* Separator styling */
.legal-links .separator {
    color: rgb(209, 213, 219);
    margin: 0 0.75rem;
    font-size: 0.75rem;
}

.dark .legal-links .separator {
    color: rgb(75, 85, 99);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legal-links .separator {
        display: none;
    }
}

/* Print styles */
@media print {
    .legal-links {
        display: none;
    }
}