@charset "UTF-8";
/* Only affects wp-login.php because it's only enqueued there */

:root{
  --stu-page-bg: #3ed2d4;

  --stu-card: #ffffff;
  --stu-border: rgba(0,0,0,0.12);

  --stu-text: rgba(20, 25, 33, 0.92);   /* dark charcoal */
  --stu-muted: rgba(20, 25, 33, 0.70);

  --stu-accent: #02c9ce; /* teal accent */
}

body.login{
  background: var(--stu-page-bg);
  color: var(--stu-text);
  min-height: 100vh;
}

/* Center and widen slightly */
body.login #login{
  width: min(380px, 92vw);
  padding: 28px 0;
}

/* Logo */
body.login #login h1 a{
  background-image: url("https://stukulele.com/wp-content/uploads/2026/01/Stukulele_web_small.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 100%;
  height: 110px; /* adjust if you want taller */
  margin: 0 auto 18px;
  padding: 0;
}

/* The main login card */
body.login form{
  background: var(--stu-card);
  border: 1px solid var(--stu-border);
  border-radius: 18px;
  box-shadow: none; /* remove shadow */
  padding: 22px 20px 18px;
}

/* Default text inside the card */
body.login form,
body.login form p,
body.login form .description{
  color: var(--stu-text);
}

/* Labels */
body.login label{
  color: var(--stu-muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* Inputs */
body.login .input,
body.login input[type="text"],
body.login input[type="password"]{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.18);
  color: var(--stu-text);
  border-radius: 12px;
  padding: 12px 12px;
  box-shadow: none;
  outline: none;
}

body.login .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus{
  border-color: rgba(2,201,206,0.95);
  box-shadow: 0 0 0 3px rgba(2,201,206,0.22);
}

/* Primary button - force override of WP core styles */
body.login .wp-core-ui #wp-submit,
body.login .wp-core-ui .button-primary{
  background: #02c9ce !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  border-radius: 999px !important;
  color: #071014 !important;

  font-weight: 900 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;

  padding: 12px 18px !important;
  height: auto !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
  transition: transform 160ms ease, filter 160ms ease !important;
}

body.login .wp-core-ui #wp-submit:hover,
body.login .wp-core-ui .button-primary:hover{
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

body.login .wp-core-ui #wp-submit:active,
body.login .wp-core-ui .button-primary:active{
  transform: translateY(0) !important;
  filter: brightness(0.98) !important;
}

body.login .wp-core-ui #wp-submit:focus{
  box-shadow: 0 0 0 3px rgba(2,201,206,0.25) !important;
  outline: none !important;
}


body.login .wp-core-ui .button-primary:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
}

body.login .wp-core-ui .button-primary:active{
  transform: translateY(0);
  filter: brightness(0.98);
}

body.login .wp-core-ui .button-primary:focus{
  box-shadow: 0 0 0 3px rgba(2,201,206,0.25);
}

/* Secondary buttons (e.g. "Back") if they appear */
body.login .wp-core-ui .button{
  border-radius: 999px;
}

/* “Remember me” */
body.login .forgetmenot label{
  color: var(--stu-muted);
  font-weight: 700;
}

/* Links under the form */
body.login #nav,
body.login #backtoblog{
  text-align: center;
  margin: 14px 0 0;
}

body.login #nav a,
body.login #backtoblog a{
  color: rgba(20, 25, 33, 0.78);
  text-decoration: none;
}

body.login #nav a:hover,
body.login #backtoblog a:hover{
  color: rgba(20, 25, 33, 0.95);
  text-decoration: underline;
}

/* Error/message boxes */
body.login .message,
body.login .success,
body.login #login_error{
  border-left: 4px solid var(--stu-accent);
  background: rgba(255,255,255,0.78);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  color: var(--stu-text);
}

/* Clean up WordPress default blue outline on some elements */
body.login a:focus,
body.login input:focus{
  outline: none;
}

/* Optional: hide privacy policy link if you want a cleaner footer */
/* body.login .privacy-policy-page-link { display:none; } */
