/* ==========================================================================
   ACL — wp-login.php
   Deep navy stage, Najdi diamond pattern, gold glow, white card.
   ========================================================================== */

body.login{
  min-height:100vh; display:flex; flex-direction:column; justify-content:center;
  font-family:'Inter','Tajawal',-apple-system,"Segoe UI",sans-serif; color:#0B1A3E;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(212,162,41,.22), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(43,74,140,.45), transparent 70%),
    linear-gradient(160deg, #0A1530 0%, #060C1C 100%);
  position:relative; overflow-x:hidden;
}
body.login.rtl{ font-family:'Tajawal','Inter',-apple-system,"Segoe UI",sans-serif; }
body.login::before{
  content:""; position:fixed; inset:0; opacity:.07; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 2 54 28 28 54 2 28Z M28 14 42 28 28 42 14 28Z' fill='none' stroke='%23F0C44A' stroke-width='1'/%3E%3C/svg%3E");
  mask-image:radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image:radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%);
}
/* gold circuit line along the top */
body.login::after{
  content:""; position:fixed; inset-inline:0; top:0; height:3px;
  background:linear-gradient(90deg, transparent, #D4A229 30%, #F0C44A 50%, #D4A229 70%, transparent);
}

#login{ width:380px; max-width:calc(100% - 32px); padding:4vh 0 2vh; margin:0 auto; position:relative; z-index:1; }

.login h1 a{
  width:230px; height:92px; margin:0 auto 26px; background-size:contain; background-position:center; background-repeat:no-repeat;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.35));
}

.login form{
  margin-top:0; padding:30px 28px 26px; border:1px solid rgba(212,162,41,.25); border-radius:20px;
  background:#fff; box-shadow:0 40px 80px -40px rgba(0,0,0,.75), 0 0 0 6px rgba(255,255,255,.03);
}
.login form .input, .login input[type=text], .login input[type=password], .login input[type=email]{
  min-height:46px; padding:6px 14px; font-size:15px; border:1px solid #D5DCEA; border-radius:12px; background:#F8FAFD;
  box-shadow:none; transition:border-color .2s, box-shadow .2s, background .2s;
}
.login form .input:focus, .login input[type=text]:focus, .login input[type=password]:focus{
  border-color:#D4A229; background:#fff; box-shadow:0 0 0 3px rgba(212,162,41,.2); outline:none;
}
.login label{ font-weight:600; font-size:13px; color:#2A3C66; margin-bottom:6px; }
.login .wp-pwd .button.wp-hide-pw{ height:46px; min-height:46px; color:#5B6C91; }
.login .wp-pwd .button.wp-hide-pw:focus{ box-shadow:0 0 0 2px #D4A229; border-color:transparent; }
.login .forgetmenot label{ font-weight:500; color:#5B6C91; }
.login input[type=checkbox]{ border-radius:5px; border-color:#BFC8DB; }
.login input[type=checkbox]:checked::before{ filter:hue-rotate(160deg) saturate(2); }

.login .button-primary, .wp-core-ui.login .button-primary{
  float:none; display:block; width:100%; min-height:48px; margin-top:16px; border:0; border-radius:12px;
  background:linear-gradient(135deg, #F0C44A, #D4A229); color:#0A1530; font-size:15px; font-weight:800; text-shadow:none;
  box-shadow:0 14px 30px -14px rgba(168,122,20,.9); transition:transform .2s, box-shadow .2s, background .2s;
}
.login .button-primary:hover, .login .button-primary:focus{ background:linear-gradient(135deg, #D4A229, #A87A14); color:#fff; transform:translateY(-1px); }
.login .button-primary:focus{ box-shadow:0 0 0 3px rgba(212,162,41,.35); }
.login .submit{ clear:both; }

.login #nav, .login #backtoblog{ text-align:center; padding:0; margin:18px 0 0; }
.login #nav a, .login #backtoblog a, .login .privacy-policy-page-link a{ color:#AEBBD6; text-decoration:none; font-size:13px; }
.login #nav a:hover, .login #backtoblog a:hover{ color:#F0C44A; }

.login .message, .login .notice, .login #login_error, .login .success{
  border:0; border-inline-start:4px solid #D4A229; border-radius:14px; background:#fff;
  box-shadow:0 20px 40px -30px rgba(0,0,0,.8); font-size:13.5px;
}
.login #login_error{ border-inline-start-color:#D63638; }

.language-switcher{ position:relative; z-index:1; }
.language-switcher form{ padding:0; background:transparent; border:0; box-shadow:none; }
.language-switcher label .dashicons{ color:#AEBBD6; }
.language-switcher select{ border-radius:10px; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#E9EEF9; }
.language-switcher select option{ color:#0B1A3E; }
.language-switcher .button{ border-radius:10px; background:transparent; border-color:rgba(212,162,41,.6); color:#F0C44A; }

.acl-login__foot{ position:relative; z-index:1; text-align:center; color:#6E7FA6; font-size:12px; padding:22px 0 28px; }
