/* =========================================================
   UniCondominio Academy — Login Inputs Fix (v3)
   File: assets/css/login-inputs-fix.css
   Include DOPO login-premium.css

   Fix v3 (contrasto massimo):
   - Il testo digitato NON deve sparire: aumenta contrasto (testo scuro su input chiaro)
   - Ombra sul campo attivo
   - Bordo più spesso
   - Placeholder più scuro e leggibile
   ========================================================= */

/* Input: stile "light field" dentro UI dark */
.login-wrap .input{
  background: rgba(255,255,255,.92) !important;          /* campo chiaro */
  border: 3px solid rgba(11,27,51,.22) !important;       /* bordo spesso */
  border-radius: 14px !important;
  color: #0b1b33 !important;                             /* testo scuro (ben visibile) */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

/* Hover */
.login-wrap .input:hover{
  border-color: rgba(11,27,51,.34) !important;
  background: rgba(255,255,255,.97) !important;
}

/* Placeholder più scuro */
.login-wrap .input::placeholder{
  color: rgba(11,27,51,.60) !important;
}

/* Focus: ring blu + ombra esterna (campo attivo) */
.login-wrap .input:focus{
  border-color: rgba(11,99,255,.88) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.22) !important,             /* ombra campo attivo */
    0 0 0 4px rgba(11,99,255,.22) !important,            /* ring */
    inset 0 0 0 1px rgba(255,255,255,.55) !important;
}

/* Label più leggibile su sfondo dark */
.login-wrap .label{
  color: rgba(255,255,255,.92) !important;
}

/* Accessibilità */
@media (prefers-reduced-motion: reduce){
  .login-wrap .input{ transition: none !important; }
}
