/* Reskins WordPress's native login/register/lost-password screens to
   match the site's dark/orange design. This is loaded only on
   wp-login.php via login_enqueue_scripts - it doesn't touch wp-admin
   itself. */

body.login{
  background: #1e1e1e;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* replace the default WordPress logo with the site's own mark */
body.login #login h1 a{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='22' fill='%230d0d0d'/%3E%3Ccircle cx='34' cy='50' r='22' fill='none' stroke='%23fd6b34' stroke-width='14'/%3E%3Ctext x='58' y='66' font-family='sans-serif' font-weight='700' font-size='52' fill='%23ffffff'%3EA%3C/text%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:44px 44px;
  width:44px;
  height:44px;
  margin:0 auto 24px;
}

#login{
  width:360px;
  padding-top:60px;
}

#loginform, #registerform, #lostpasswordform{
  background: #313131;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:30px 28px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}

#loginform label, #registerform label, #lostpasswordform label{
  color:#a8a8a8;
  font-size:13px;
  font-weight:600;
}

#loginform input[type="text"],
#loginform input[type="password"],
#registerform input[type="text"],
#registerform input[type="email"],
#registerform input[type="tel"],
#lostpasswordform input[type="text"]{
  background:#1e1e1e;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:10px;
  color:#f5f5f3;
  padding:10px 12px;
  font-size:14px;
  box-shadow:none;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus,
#registerform input[type="text"]:focus,
#registerform input[type="email"]:focus,
#registerform input[type="tel"]:focus,
#lostpasswordform input[type="text"]:focus{
  border-color:#fd6b34;
  box-shadow:0 0 0 1px #fd6b34;
}

.wp-core-ui .button-primary{
  background:#fd6b34;
  border:none;
  border-radius:999px;
  color:#1a1a1a;
  font-weight:700;
  font-size:14px;
  padding:8px 20px;
  height:auto;
  text-shadow:none;
  box-shadow:none;
  transition: box-shadow .2s ease;
}
.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus{
  background:#fd6b34;
  color:#1a1a1a;
  box-shadow:0 8px 20px -6px rgba(253,107,52,0.6);
}

/* "Remember me" checkbox row */
.login .forgetmenot label{
  color:#a8a8a8;
  font-size:13px;
}

/* links below the form (lost password, back to site, register) */
#nav, #backtoblog{
  text-align:center;
}
#nav a, #backtoblog a{
  color:#a8a8a8 !important;
  font-size:13px;
  text-decoration:none;
}
#nav a:hover, #backtoblog a:hover{
  color:#fd6b34 !important;
}

/* error / success messages */
#login #login_error,
#login .message,
#login .success{
  background:#2a2a2a;
  border-left:4px solid #fd6b34;
  color:#f5f5f3;
  border-radius:8px;
  box-shadow:none;
  font-size:13px;
}
#login .message{ border-left-color:#4ade80; }

/* privacy policy link + language switcher, if shown */
.privacy-policy-page-link, #language-switcher{
  text-align:center;
}
.privacy-policy-page-link a, #language-switcher label{
  color:#a8a8a8;
  font-size:12px;
}
