/* Legal Modal specific overrides */
.legal-modal {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.legal-text-container {
    padding-top: 1rem;
    color: var(--text-secondary);
}

.legal-text-container h2 {
    color: #fff;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.legal-text-container h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.legal-text-container p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.legal-text-container strong {
    color: #fff;
    font-weight: 600;
}

/* Scrollbar for legal modal */
.legal-modal::-webkit-scrollbar {
    width: 8px;
}

.legal-modal::-webkit-scrollbar-track {
    background: #111;
    border-radius: 4px;
}

.legal-modal::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.legal-modal::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}