/* DERIOX_BIROU_M41_AUTH_MESSAGE_VISIBILITY
   Scope: auth/login pages only. Nu modifica dashboard/home operational.
*/

:root{
  --bd41-ink:#07142f;
  --bd41-muted:#34445f;
  --bd41-blue:#155eef;
  --bd41-blue-dark:#0f46c7;
  --bd41-border:#dbe7f5;
  --bd41-warning-bg:#fff7df;
  --bd41-warning-border:#f4c76b;
  --bd41-warning-text:#513300;
  --bd41-success-bg:#ecfdf5;
  --bd41-success-border:#86efac;
  --bd41-success-text:#065f46;
  --bd41-danger-bg:#fef2f2;
  --bd41-danger-border:#fecaca;
  --bd41-danger-text:#991b1b;
}

/* Mesaje Laravel / auth / session */
body .alert,
body [role="alert"],
body .session-status,
body .status-message,
body .auth-message,
body .auth-alert,
body .notice,
body .notification,
body .flash-message,
body .bd-auth-alert,
body .bd-login-alert{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 22px 0!important;
  padding:14px 18px!important;
  border-radius:22px!important;
  border:1px solid var(--bd41-warning-border)!important;
  background:var(--bd41-warning-bg)!important;
  color:var(--bd41-warning-text)!important;
  -webkit-text-fill-color:var(--bd41-warning-text)!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:850!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  box-shadow:0 10px 24px rgba(180,119,0,.10)!important;
  opacity:1!important;
  filter:none!important;
}

body .alert *,
body [role="alert"] *,
body .session-status *,
body .status-message *,
body .auth-message *,
body .auth-alert *,
body .notice *,
body .notification *,
body .flash-message *,
body .bd-auth-alert *,
body .bd-login-alert *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}

/* Variante succes / eroare, dacă există clase specifice */
body .alert-success,
body .success,
body .is-success,
body .text-success,
body .bg-success{
  background:var(--bd41-success-bg)!important;
  border-color:var(--bd41-success-border)!important;
  color:var(--bd41-success-text)!important;
  -webkit-text-fill-color:var(--bd41-success-text)!important;
}

body .alert-danger,
body .alert-error,
body .error,
body .is-danger,
body .text-danger,
body .bg-danger{
  background:var(--bd41-danger-bg)!important;
  border-color:var(--bd41-danger-border)!important;
  color:var(--bd41-danger-text)!important;
  -webkit-text-fill-color:var(--bd41-danger-text)!important;
}

/* Corectare text mic / heading-uri în pagina de autentificare */
body form label,
body .login label,
body .auth label,
body input,
body textarea,
body select{
  color:var(--bd41-ink)!important;
  -webkit-text-fill-color:var(--bd41-ink)!important;
  opacity:1!important;
}

body input::placeholder,
body textarea::placeholder{
  color:#7a8aa5!important;
  -webkit-text-fill-color:#7a8aa5!important;
  opacity:1!important;
}

body input,
body textarea,
body select{
  background:#fff!important;
  border:1px solid #bfd1e8!important;
  box-shadow:none!important;
}

body input:focus,
body textarea:focus,
body select:focus{
  border-color:var(--bd41-blue)!important;
  box-shadow:0 0 0 4px rgba(21,94,239,.12)!important;
  outline:none!important;
}

/* Buton autentificare lizibil, fără text pierdut */
body button[type="submit"],
body form button,
body .btn,
body .button{
  opacity:1!important;
  text-shadow:none!important;
}

body button[type="submit"]:not(.bd40-auth-button),
body form button[type="submit"]:not(.bd40-auth-button){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:900!important;
}

body button[type="submit"]:disabled,
body form button[type="submit"]:disabled{
  color:#0f46c7!important;
  -webkit-text-fill-color:#0f46c7!important;
  background:#dbeafe!important;
  border-color:#bfdbfe!important;
  cursor:not-allowed!important;
}

/* Link-uri auth clare */
body a{
  text-decoration:none;
}

body form a,
body .auth a,
body .login a{
  color:var(--bd41-blue)!important;
  -webkit-text-fill-color:var(--bd41-blue)!important;
  font-weight:850!important;
}

body form a:hover,
body .auth a:hover,
body .login a:hover{
  color:var(--bd41-blue-dark)!important;
  -webkit-text-fill-color:var(--bd41-blue-dark)!important;
}

/* Text selection normal, nu face textul imposibil de citit */
body ::selection{
  background:#155eef!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
