/* === Auth (login/recuperação/cadastro) === */
.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 20%, rgba(71,180,139,.18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(55,90,166,.25), transparent 50%),
        linear-gradient(135deg, #1e3653 0%, #2a4670 60%, #375aa6 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 20px 50px -12px rgba(15,23,42,.35);
    border: 1px solid rgba(255,255,255,.6);
}

.auth-logo {
    max-width: 130px;
    height: auto;
}

.auth-title {
    color: #1e3653;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: .25rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: .9rem;
    margin-bottom: 1.75rem;
}

.auth-link {
    color: #375aa6;
    font-weight: 500;
}
.auth-link:hover { color: #1e3653; }

.auth-card .input-group-text {
    border-right: 0;
}
.auth-card .form-control {
    border-left: 0;
    padding-left: .25rem;
}
.auth-card .form-control:focus {
    box-shadow: none;
    border-color: #375aa6;
}
.auth-card .input-group:focus-within {
    box-shadow: 0 0 0 .2rem rgba(55,90,166,.15);
    border-radius: .375rem;
}

.auth-card .btn-primary {
    background: linear-gradient(135deg, #1e3653, #375aa6);
    border: none;
    border-radius: 8px;
    transition: transform .15s ease, box-shadow .2s ease;
}
.auth-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(30,54,83,.55);
    background: linear-gradient(135deg, #1e3653, #47b48b);
}

.form-check-input:checked {
    background-color: #47b48b;
    border-color: #47b48b;
}

/* === Documentos Legais (Termos e Privacidade) === */
.legal-header-logo {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.legal-page-card {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.legal-document {
    color: #111827 !important;
    line-height: 1.7;
}

.legal-document h3 {
    color: #111827 !important;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.35rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-document h4 {
    color: #1f2937 !important;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-document p {
    color: #1f2937 !important;
    font-size: 0.925rem;
    margin-bottom: 0.85rem;
    line-height: 1.65;
}

.legal-document strong {
    color: #111827 !important;
}

.legal-document ul, .legal-document li {
    color: #1f2937 !important;
}

.legal-scroll-box {
    max-height: 420px;
    overflow-y: auto;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    color: #111827 !important;
}

.legal-notice-box {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    padding: 1.5rem;
    color: #1e293b !important;
}

.legal-table {
    border-color: #e5e7eb !important;
    font-size: 0.875rem;
}

.legal-table th {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    padding: 0.6rem 0.75rem !important;
    border-color: #e2e8f0 !important;
    white-space: nowrap;
}

.legal-table td {
    color: #334155 !important;
    padding: 0.6rem 0.75rem !important;
    border-color: #e2e8f0 !important;
    vertical-align: middle;
}

@media (max-width: 480px) {
    .auth-card { padding: 1.75rem 1.25rem; border-radius: 12px; }
    .auth-title { font-size: 1.25rem; }
}
