/* Fondo con el mismo degradé del login */
.auth-fondo {
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--primario), var(--secundario));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Card principal */
.auth-card {
    width: min(1100px, 96vw);
    background: #f9f6f2;
    border-radius: 1.5rem;
    display: grid;
    grid-template-columns: 46% 54%;
    overflow: hidden;
}

/* Columna izquierda (imagen) */
.auth-illustration {
    position: relative;
    background: #eee;
}
.auth-illustration .img-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columna derecha */
.auth-panel {
    padding: 2rem 2rem 2.25rem;
}

/* Tabs */
.auth-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}
.auth-tab {
    padding: 0.75rem 0.25rem;
    text-decoration: none;
    color: #666;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.auth-tab.is-active {
    color: var(--secundario);
}
.auth-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--secundario);
    border-radius: 3px;
}

/* Títulos */
.auth-title {
    color: var(--secundario);
    font-weight: 800;
}

/* Inputs XL coherentes con tus estilos */
.input-xl {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    border: 2px solid var(--secundario);
    border-radius: 0.7rem;
    background: #fff;
    outline: none;
    box-shadow: 0 0 3px rgba(var(--secundario-rgb), 0.15);
}
.input-xl:focus {
    border-color: var(--secundarioBis);
    box-shadow: 0 0 10px rgba(var(--secundario-rgb), 0.45);
}

/* Botón principal */
.btn-secundario {
    background: var(--secundario);
    color: #fff;
    border: 0;
    border-radius: 0.7rem;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-secundario:hover {
    background: var(--secundarioBis);
}
.btn-xl {
    padding: 0.9rem 1.2rem;
    font-weight: 800;
}

/* Ojo password */
.toggle-password {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: var(--secundario);
    cursor: pointer;
    font-size: 1.1rem;
}

/* Links */
.link-muted {
    color: var(--secundario);
    text-decoration: none;
    opacity: 0.85;
}
.link-muted:hover {
    opacity: 1;
    text-decoration: underline;
}
.link-strong {
    color: var(--secundario);
    font-weight: 800;
    text-decoration: none;
}
.link-strong:hover {
    color: var(--secundarioBis);
    text-decoration: underline;
}

/* Paneles (show/oculto) */
.tab-pane {
    display: none;
}
.tab-pane.show {
    display: block;
}

/* Modal */
.auth-modal {
    background: #f9f6f2;
    border-radius: 1.25rem;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-card {
        grid-template-columns: 1fr;
    }
    .auth-illustration {
        display: none;
    }
    .auth-panel {
        padding: 1.25rem;
    }
}
