/* Pantallas de autenticacion: selector de idioma y ajustes RTL (ticket 294113).
   Se carga despues de auth-layout.css o auth-modern.css, asi que aplica a ambos estilos. */

/* Las pantallas de auth son anonimas: no hay menu de usuario donde elegir idioma */
.auth-lang-selector {
    position: fixed;
    top: 12px;
    inset-inline-end: 16px;
    z-index: 10;
}

.auth-lang-selector .btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
}

.auth-lang-selector .dropdown-item.active {
    background-color: var(--auth-primary-color);
}

/* Los estilos alinean a la izquierda; en RTL el texto arranca a la derecha */
[dir="rtl"] .form-label,
[dir="rtl"] .form-check,
[dir="rtl"] .text-danger,
[dir="rtl"] .field-validation-error,
[dir="rtl"] .validation-summary-errors,
[dir="rtl"] .alert {
    text-align: right;
}

[dir="rtl"] .form-check-label { margin-left: 0; margin-right: 0.25rem; }
[dir="rtl"] .alert i { margin-right: 0; margin-left: 0.5rem; }
