/* 2022 Ejaaba login reference, isolated from all other pages.
   Original site navbar/logo and shared footer are preserved. */
.columns:has(.ejabat-archive-login){display:block!important}
.columns:has(.ejabat-archive-login)>.right-sidebar,
.columns:has(.ejabat-archive-login)>.left-sidebar{display:none!important}
.columns:has(.ejabat-archive-login)>.main-area{
  width:100%!important;max-width:none!important;min-width:0!important
}
.form-page:has(.ejabat-archive-login){
  max-width:100%!important;margin:5px auto 0!important;
  padding:0!important;border:0!important;background:transparent!important;
  box-shadow:none!important
}
.ejabat-archive-login{
  width:100%;box-sizing:border-box;direction:rtl;
  background:#fff;color:#2c2c2c;box-shadow:none;border:0
}
.ejabat-archive-login-title{
  min-height:35px;display:flex;align-items:center;
  gap:6px;padding:5px 11px;box-sizing:border-box;
  background:#e9edf8;color:#2d70c1;border:0;text-align:right
}
.ejabat-archive-login-title h1{
  margin:0!important;padding:0!important;color:#2d70c1!important;
  font-size:19px!important;font-weight:400!important;line-height:1.45
}
.ejabat-archive-login-title svg{
  width:23px;height:23px;flex:0 0 23px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round
}
.ejabat-archive-login-form{padding:10px 13px 18px!important;margin:0!important}
.ejabat-archive-login-form>label:not(.ejabat-login-remember){
  display:block;margin:0 0 17px!important;padding:0!important;
  font-size:15px!important;font-weight:700!important;color:#333!important;
  line-height:1.7;text-align:right
}
.ejabat-archive-login-form>label:not(.ejabat-login-remember)>input{
  display:block;box-sizing:border-box;width:100%!important;
  height:37px!important;min-height:37px!important;max-height:37px;
  margin:3px 0 0!important;padding:5px 9px!important;
  background:#fff!important;border:1px solid #c9ced1!important;
  border-radius:5px!important;box-shadow:inset 0 1px 2px #0000000a!important;
  color:#252525!important;font-size:15px!important;font-weight:400!important;
  outline:0!important
}
.ejabat-archive-login-form>label:not(.ejabat-login-remember)>input:focus-visible{
  border-color:#3983d6!important;box-shadow:0 0 0 2px #79b2f342!important
}
.ejabat-login-remember{
  display:flex!important;flex-direction:row;align-items:center;
  justify-content:flex-start;gap:7px;margin:4px 0 17px!important;
  font-size:14px!important;line-height:1.6;color:#333!important;
  font-weight:700!important;cursor:pointer;text-align:right
}
.ejabat-login-remember input{
  appearance:auto!important;flex:0 0 auto;width:17px!important;height:17px!important;
  min-height:0!important;margin:0!important;padding:0!important;
  accent-color:#2279e7;vertical-align:middle
}
.ejabat-login-controls{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:start;gap:6px 10px;direction:rtl;min-width:0
}
.ejabat-login-controls a{
  color:#286fd0!important;text-decoration:none!important;
  font-size:14px!important;line-height:1.7;
  display:inline-flex;align-items:center;justify-content:center;
  gap:4px;min-width:0;text-align:center;margin-top:8px
}
.ejabat-login-controls a:hover{text-decoration:underline!important}
.ejabat-login-controls a:focus-visible,
.ejabat-login-submit:focus-visible{
  outline:2px solid #275fba!important;outline-offset:2px
}
.ejabat-login-controls a svg{
  flex:0 0 20px;width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round
}
.ejabat-login-submit{
  display:inline-flex!important;align-items:center;justify-content:center;gap:6px;
  min-height:39px;padding:7px 16px!important;
  background:#2279e7!important;border:1px solid #1d70d7!important;
  border-radius:4px!important;box-shadow:none!important;
  color:white!important;font-size:15px!important;
  font-weight:400!important;line-height:1.4;
  cursor:pointer;white-space:nowrap
}
.ejabat-login-submit:hover{background:#176bd8!important}
.ejabat-login-submit svg{
  flex:0 0 19px;width:19px;height:19px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round
}
.ejabat-login-recovery-content{padding:14px 15px 24px;line-height:2;font-size:14px}
.ejabat-login-recovery-content p{margin:0 0 11px}
.ejabat-login-recovery-content .ejabat-login-recovery-links{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center
}
.ejabat-login-recovery-links a{color:#2d70c1;text-decoration:none}
.ejabat-login-recovery-links a:first-child{
  background:#2279e7;color:white;border-radius:3px;padding:6px 13px
}
@media(max-width:640px){
 .form-page:has(.ejabat-archive-login){margin:8px auto 0!important}
 .ejabat-archive-login-title{min-height:32px;padding:5px 9px}
 .ejabat-archive-login-title h1{font-size:17px!important}
 .ejabat-archive-login-form{padding:10px 9px 15px!important}
 .ejabat-login-controls{gap:6px}
 .ejabat-login-controls a{font-size:13px!important}
 .ejabat-login-submit{padding:8px 10px!important;font-size:14px!important}
}
@media(max-width:365px){
 .ejabat-login-controls{grid-template-columns:auto minmax(0,1fr)}
 .ejabat-login-register{grid-column:1/-1;justify-self:end;margin-top:0!important}
}

/* Real password recovery, same approved archive sign-in look. */
.ejabat-reset-request-form,
.ejabat-reset-password-form{padding:5px 0 10px!important;max-width:100%!important}
.ejabat-reset-request-form>label:not(.ejabat-login-remember),
.ejabat-reset-password-form>label:not(.ejabat-login-remember){
 margin-bottom:14px!important
}
.ejabat-reset-hint{color:#687888;font-size:12px!important;line-height:1.9;margin:12px 0!important}
.ejabat-reset-expired{padding:10px 12px;background:#fff4f2;border:1px solid #eacbcb;color:#974948}
.ejabat-login-recovery-links a:first-child{background:none!important;color:#286fc2!important;padding:0!important}
.ejabat-reset-request-form .ejabat-login-submit,
.ejabat-reset-password-form .ejabat-login-submit{min-width:145px}
