
/* ============================================================
   LOGIN
   ============================================================ */

.login-input:focus,
.login-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.input-shell:focus-within {
    border-color: var(--brand-accent-ink) !important;
    box-shadow: 0 0 0 4px rgba(0, 159, 227, .10) !important;
}

/* El checkbox sí conserva un foco propio visible. */
.remember-option input:focus-visible {
    outline: 2px solid var(--brand-accent-ink) !important;
    outline-offset: 2px !important;
}

/* ============================================================
   GESTIÓN DE EMPRESAS
   ============================================================ */

.company-delete-area {
    max-width: 410px;
    text-align: right;
}

.company-delete-area .small {
    line-height: 1.45;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 620px) {
    .company-delete-area {
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .company-delete-area .btn {
        width: 100%;
    }
}
/* ---------- AVATAR ---------- */

.nav-user-avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex: 0 0 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient( 135deg, var(--brand-accent-ink), var(--brand-ink) ) !important;
    overflow: hidden !important;
}

    /* Forzamos el muñeco a blanco */
    .nav-user-avatar svg {
        width: 24px !important;
        height: 24px !important;
        display: block !important;
        color: #fff !important;
        fill: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .nav-user-avatar svg path,
        .nav-user-avatar svg circle {
            fill: #fff !important;
        }


/* ---------- FORMULARIO LOGOUT ---------- */

.nav-logout-form {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    flex: none !important;
}


/* ---------- BOTÓN CERRAR SESIÓN ---------- */

.nav-logout-button {
    position: relative !important;
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 42px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
    font-size: .78rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
}


    /* Texto exactamente centrado */
    .nav-logout-button > span {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }


    /* Icono colocado a la izquierda sin mover el texto */
    .nav-logout-button > svg {
        position: absolute !important;
        left: 14px !important;
        top: 50% !important;
        width: 19px !important;
        height: 19px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
        color: #fff !important;
        stroke: #fff !important;
        fill: none !important;
    }


    /* Hover */
    .nav-logout-button:hover {
        border-color: rgba(0, 159, 227, .65) !important;
        background: rgba(0, 159, 227, .18) !important;
    }
