/* Pantallas de autenticación — Inv. Rivera | Sector Textil */

.inv-auth-main {
    background: #fdfcfa;
}

.inv-auth-form-col {
    background: #ffffff;
}

.inv-auth-card {
    max-width: 400px;
}

.inv-auth-logo-mark {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.inv-auth-brand-title {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

/* Botón principal — navy profundo */
.inv-auth-card .btn-login-textil {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.65rem 1.25rem;
    transition: opacity 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(13, 33, 55, 0.28);
}

.inv-auth-card .btn-login-textil:hover,
.inv-auth-card .btn-login-textil:focus {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(13, 33, 55, 0.38);
    color: #fff;
}

/* Link acento dorado */
.inv-auth-card a.inv-auth-link {
    color: #a87020;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.inv-auth-card a.inv-auth-link:hover {
    color: #c8922a;
    text-decoration: underline;
}

/* ─── Columna visual — textil navy profundo ─── */
.inv-auth-visual-col {
    background: linear-gradient(145deg, #0d2137 0%, #1a3a5c 55%, #1e4268 100%);
    position: relative;
    overflow: hidden;
}

/* Trama diagonal — simula tejido de tela */
.inv-auth-visual-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 18px,
            rgba(255, 255, 255, 0.022) 18px,
            rgba(255, 255, 255, 0.022) 19px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 18px,
            rgba(255, 255, 255, 0.022) 18px,
            rgba(255, 255, 255, 0.022) 19px
        );
    pointer-events: none;
}

/* Brillo difuminado dorado en esquina inferior */
.inv-auth-visual-col::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 146, 42, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.inv-auth-visual-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inv-auth-visual-logo {
    display: block;
    max-width: min(320px, 90%);
    width: auto;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Línea acento dorado */
.inv-auth-visual-divider {
    display: block;
    width: 40px;
    height: 3px;
    background: #c8922a;
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* Badges de características */
.inv-auth-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.inv-auth-feature:last-child {
    border-bottom: none;
}

.inv-auth-feature-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 146, 42, 0.18);
    color: #c8922a;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.inv-auth-feature-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

/* Navbar de invitado */
.navbar-brand img.inv-guest-nav-logo {
    max-height: 40px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
