/* ==========================================================================
   Frasqmanager v2 — Autenticación
   Pantalla partida: panel de marca oscuro + formulario sobre fondo claro.
   ========================================================================== */

.fq-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--fq-bg);
}

@media (min-width: 992px) {
    .fq-auth {
        grid-template-columns: 46% 54%;
    }
}

/* ---- Panel de marca ---- */

.fq-auth__brand {
    display: none;
    position: relative;
    overflow: hidden;
    background: var(--fq-black);
    color: var(--fq-text-invert);
    padding: var(--fq-space-10);
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .fq-auth__brand {
        display: flex;
    }
}

/* Botellas del logo insinuadas como manchas de color muy tenues */
.fq-auth__brand::before,
.fq-auth__brand::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    pointer-events: none;
}

.fq-auth__brand::before {
    width: 380px;
    height: 380px;
    background: var(--fq-yellow-400);
    top: -80px;
    right: -110px;
}

.fq-auth__brand::after {
    width: 320px;
    height: 320px;
    background: var(--fq-terracotta);
    bottom: -90px;
    left: -60px;
}

.fq-auth__brand>* {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fq-auth__logo {
    width: 150px;
    height: 150px;
    border-radius: var(--fq-radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
}

.fq-auth__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fq-auth__headline {
    font-size: 2.25rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: var(--fq-space-6) 0 var(--fq-space-4);
    max-width: 15ch;
    color: var(--fq-gray-0);
}

.fq-auth__headline em {
    font-style: normal;
    color: var(--fq-yellow-400);
}

.fq-auth__lede {
    font-size: var(--fq-text-md);
    line-height: 1.6;
    color: rgba(250, 248, 244, 0.62);
    max-width: 40ch;
}

.fq-auth__facts {
    display: flex;
    gap: var(--fq-space-8);
    margin-top: var(--fq-space-8);
    padding-top: var(--fq-space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.fq-auth__fact-label {
    font-size: var(--fq-text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.42);
    margin-bottom: 0.2rem;
}

.fq-auth__fact-value {
    font-size: var(--fq-text-md);
    font-weight: 600;
    color: var(--fq-text-invert);
}

.fq-auth__foot {
    font-size: var(--fq-text-xs);
    color: rgba(250, 248, 244, 0.34);
}

/* ---- Panel del formulario ---- */

.fq-auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--fq-space-6);
}

.fq-auth__form {
    width: 100%;
    max-width: 384px;
}

.fq-auth__mark {
    display: flex;
    align-items: center;
    gap: var(--fq-space-3);
    margin-bottom: var(--fq-space-8);
}

@media (min-width: 992px) {
    .fq-auth__mark {
        display: none;
    }
}

.fq-auth__mark-logo {
    width: 42px;
    height: 42px;
    border-radius: var(--fq-radius);
    background: var(--fq-black);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.fq-auth__mark-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fq-auth__mark-name {
    font-size: var(--fq-text-lg);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.fq-auth__mark-name span {
    color: var(--fq-primary);
}

.fq-auth__title {
    font-size: var(--fq-text-2xl);
    font-weight: 650;
    letter-spacing: -0.025em;
    margin-bottom: var(--fq-space-2);
}

.fq-auth__sub {
    font-size: var(--fq-text-base);
    color: var(--fq-text-muted);
    margin-bottom: var(--fq-space-6);
}

.fq-auth__field {
    margin-bottom: var(--fq-space-4);
}

.fq-auth__field .form-control {
    padding: 0.65rem 0.85rem 0.65rem 2.5rem;
    font-size: var(--fq-text-md);
}

.fq-auth__input-wrap {
    position: relative;
}

.fq-auth__input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fq-gray-400);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 4;
}

.fq-auth__input-wrap:focus-within .fq-auth__input-icon {
    color: var(--fq-primary);
}

.fq-auth__toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--fq-gray-400);
    padding: 0.4rem 0.55rem;
    border-radius: var(--fq-radius-sm);
    font-size: 0.85rem;
    z-index: 4;
}

.fq-auth__toggle:hover {
    color: var(--fq-text-muted);
    background: var(--fq-gray-100);
}

.fq-auth__submit {
    width: 100%;
    padding: 0.7rem;
    font-size: var(--fq-text-md);
    font-weight: 600;
}

.fq-auth__legal {
    margin-top: var(--fq-space-8);
    font-size: var(--fq-text-xs);
    color: var(--fq-text-subtle);
    text-align: center;
}