/* ALDEEB V135.09 — targeted contrast repair for admin hero and sign-in fields */
/* The general admin rule intentionally makes headings dark on light surfaces.
   This narrowly restores light text only where the background is dark. */
#adminPage .admin-hero,
#adminPage .admin-hero > div:first-child{color:#ffffff!important;}
#adminPage .admin-hero > div:first-child > span:not(.admin-role-badge){
  color:#ffdf75!important;opacity:1!important;font-weight:900!important;
}
#adminPage .admin-hero h2{
  color:#ffffff!important;background:transparent!important;opacity:1!important;
  text-shadow:0 1px 1px rgba(0,0,0,.28)!important;
}
#adminPage .admin-hero p{
  color:#e0e8f0!important;opacity:1!important;line-height:1.8!important;
}
#adminPage .admin-hero .admin-role-badge{
  color:#ffdf75!important;background:#2a3440!important;opacity:1!important;
}

/* High-contrast labels and fields in the admin login and technician login windows. */
#aldeebAdminLoginLayer .aldeeb-admin-login-card,
#aldeebAuthLayer .aldeeb-auth-card{
  background:#ffffff!important;color:#17212b!important;opacity:1!important;
}
#aldeebAdminLoginLayer .aldeeb-admin-login-card h2,
#aldeebAdminLoginLayer .aldeeb-admin-login-card label,
#aldeebAuthLayer .aldeeb-auth-card h2,
#aldeebAuthLayer .aldeeb-auth-card label,
#aldeebAuthLayer .aldeeb-auth-card .aldeeb-auth-form label{
  color:#17212b!important;opacity:1!important;text-shadow:none!important;font-weight:800!important;
}
#aldeebAdminLoginLayer .aldeeb-admin-login-card p,
#aldeebAuthLayer .aldeeb-auth-card p,
#aldeebAuthLayer .aldeeb-auth-card .aldeeb-auth-sub{
  color:#465564!important;opacity:1!important;
}
#aldeebAdminLoginLayer .aldeeb-admin-login-card input,
#aldeebAuthLayer .aldeeb-auth-card input:not([type="checkbox"]):not([type="radio"]),
#aldeebAuthLayer .aldeeb-auth-card textarea,
#aldeebAuthLayer .aldeeb-auth-card select{
  background:#ffffff!important;color:#111820!important;
  border:1px solid #8293a2!important;opacity:1!important;
  -webkit-text-fill-color:#111820!important;caret-color:#111820!important;
}
#aldeebAdminLoginLayer .aldeeb-admin-login-card input::placeholder,
#aldeebAuthLayer .aldeeb-auth-card input::placeholder,
#aldeebAuthLayer .aldeeb-auth-card textarea::placeholder{
  color:#52616f!important;opacity:1!important;-webkit-text-fill-color:#52616f!important;
}
#aldeebAdminLoginLayer .aldeeb-admin-login-card input:focus-visible,
#aldeebAuthLayer .aldeeb-auth-card input:focus-visible,
#aldeebAuthLayer .aldeeb-auth-card textarea:focus-visible,
#aldeebAuthLayer .aldeeb-auth-card select:focus-visible{
  outline:3px solid rgba(215,25,32,.35)!important;outline-offset:2px!important;
  border-color:#b50f17!important;
}
#aldeebAdminLoginLayer .aldeeb-admin-login-card .aldeeb-admin-login-msg.err,
#aldeebAuthLayer #aldeebAuthMsg.err{color:#9f1c14!important;opacity:1!important;}
#aldeebAdminLoginLayer .aldeeb-admin-login-card .aldeeb-admin-login-msg.ok,
#aldeebAuthLayer #aldeebAuthMsg.ok{color:#126b42!important;opacity:1!important;}

@media(prefers-contrast:more){
  #adminPage .admin-hero h2{color:#ffffff!important;}
  #adminPage .admin-hero p{color:#f4f7fa!important;}
  #aldeebAdminLoginLayer .aldeeb-admin-login-card label,
  #aldeebAuthLayer .aldeeb-auth-card label{color:#080d12!important;}
  #aldeebAdminLoginLayer .aldeeb-admin-login-card input,
  #aldeebAuthLayer .aldeeb-auth-card input{border-color:#344454!important;}
}
