:root {
    --brand-dark: #0b3a8f;
    --brand: #1d6fe8;
    --surface: #f4f7fb;
}
.auth-body { background: var(--surface); min-height: 100vh; }
.auth-shell { display: flex; min-height: 100vh; }

.auth-brand {
    flex: 0 0 44%;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    color: #fff;
    background: linear-gradient(155deg, var(--brand-dark) 0%, var(--brand) 100%);
}
.auth-logo { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.auth-logo-mobile { display: block; margin-bottom: 1.5rem; font-weight: 700; font-size: 1.15rem; color: var(--brand-dark); text-decoration: none; }

.auth-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1.5rem, env(safe-area-inset-top)) 1rem max(1.5rem, env(safe-area-inset-bottom));
}
.auth-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(11, 58, 143, .08);
}
@media (min-width: 576px) { .auth-card { padding: 2.5rem; } }

/* Formularios largos (registro de empresa): tarjeta más ancha y campos más cómodos */
.auth-wide .auth-card { max-width: min(880px, 100%); }
.auth-wide .form-control, .auth-wide .form-select { padding: .75rem 1rem; font-size: 1rem; }
@media (min-width: 992px) { .auth-wide .auth-brand { flex-basis: 32%; padding: 2.5rem; } }
@media (min-width: 576px) { .auth-wide .auth-card { padding: 2.5rem 3rem; } }
@media (min-width: 1400px) { .auth-wide .auth-card { max-width: 960px; } }

.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); }
a { color: var(--brand); }
.form-control { padding: .65rem .85rem; }
.form-control:focus, .form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(29, 111, 232, .18); }

.choice-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.15rem; border: 1px solid #dbe4f0; border-radius: 12px;
    color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.choice-card:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(29, 111, 232, .12); transform: translateY(-1px); }
.choice-icon {
    flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 10px; background: #e8f0fe; color: var(--brand); font-size: 1.4rem;
}
