/* DEKMA V255: keep the approved light mathematics sign-in readable when
   the phone, browser or DEKMA theme has dark mode enabled.
   Scope to authentication: signed-in student dashboards retain their theme. */
#loginPanel, #loginPanel .authPanel,
#loginOtpPanel, #resetRequestPanel, #resetVerifyPanel,
#passwordSetupPanel, #resetDonePanel {color-scheme:light;}
#loginPanel .authPanel{color:#14385c!important;background:#fff!important;}
#loginPanel .authPanel .authModes{background:#e8f0fa!important;border-color:#bfd5ef!important;}
#loginPanel .authPanel .authModes .authMode:not(.active){
  background:transparent!important;color:#173b60!important;
  -webkit-text-fill-color:#173b60!important;opacity:1!important;
}
#loginPanel .authPanel .authModes .authMode.active{
  background:linear-gradient(125deg,#137cc4,#0753a5)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
}
#loginPanel .authPanel h2,#loginPanel .authPanel label{color:#14385c!important;-webkit-text-fill-color:#14385c!important;}
#loginPanel .authPanel input,
#loginOtpPanel input,#resetRequestPanel input,#resetVerifyPanel input,
#passwordSetupPanel input{color-scheme:light;background:#fff!important;color:#14385c!important;-webkit-text-fill-color:#14385c!important;border-color:#b7ccdf!important;opacity:1!important;}
#loginPanel .authPanel input::placeholder,
#loginOtpPanel input::placeholder,#resetRequestPanel input::placeholder,#resetVerifyPanel input::placeholder{
 color:#71869d!important;-webkit-text-fill-color:#71869d!important;opacity:1!important;
}
#loginPanel .authPanel button.primary,
#loginOtpPanel button.primary,#resetRequestPanel button.primary,#resetVerifyPanel button.primary{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
#loginPanel .authPanel .subtleAction,
#loginPanel .authPanel .sinhalaGuideButton{
 color:#075d9f!important;-webkit-text-fill-color:#075d9f!important;opacity:1!important;
}
#loginPanel .authPanel .fineprint,#loginPanel .authPanel .muted{
 color:#526b82!important;-webkit-text-fill-color:#526b82!important;
}
#helpPanel{color-scheme:light;background:#f4f9ff!important;color:#14385c!important;}
#helpPanel strong,#helpPanel p{color:#14385c!important;-webkit-text-fill-color:#14385c!important;}
#loginOtpPanel,#resetRequestPanel,#resetVerifyPanel,#passwordSetupPanel,#resetDonePanel{
 background:#fff!important;color:#14385c!important;
}
#loginOtpPanel h2,#resetRequestPanel h2,#resetVerifyPanel h2,
#loginOtpPanel label,#resetRequestPanel label,#resetVerifyPanel label{
 color:#14385c!important;
}
#loginPanel .authMode:focus-visible{outline:3px solid #2d8dde!important;outline-offset:2px;}
@media(prefers-color-scheme:dark){
 #loginPanel .authPanel .authModes .authMode:not(.active){color:#173b60!important;-webkit-text-fill-color:#173b60!important;}
}
