/* UWMHC Custom Login Page Styles */
body.login {
  background: #0d1520;
  font-family: 'Segoe UI', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

body.login::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.02) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* Logo / header area */
#login h1 a {
  background-image: url('../assets/sheep.png');
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto;
  text-indent: -9999px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

/* Form card */
#loginform,
#lostpasswordform {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

#login {
  width: 320px;
  padding: 0;
}

/* Labels */
#loginform label,
#lostpasswordform label {
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Inputs */
#loginform input[type=text],
#loginform input[type=password],
#lostpasswordform input[type=text] {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  width: 100%;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s;
}
#loginform input[type=text]:focus,
#loginform input[type=password]:focus,
#lostpasswordform input[type=text]:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
  box-shadow: none;
}

/* Submit button */
#loginform .button-primary,
#lostpasswordform .button-primary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
  padding: 12px;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  text-shadow: none;
}
#loginform .button-primary:hover,
#lostpasswordform .button-primary:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Remember me + lost password links */
#loginform .forgetmenot {
  margin-bottom: 12px;
}
#loginform .forgetmenot input[type="checkbox"] {
  width: 13px;
  height: 13px;
  vertical-align: middle;
  margin-right: 4px;
}
#loginform .forgetmenot label,
.nav { color: rgba(255,255,255,0.25); font-size: 11px; }
.nav a { color: rgba(255,255,255,0.25) !important; }
.nav a:hover { color: rgba(255,255,255,0.5) !important; }

/* Error / info messages */
#login_error,
.message {
  background: rgba(255,107,107,0.08);
  border-left: 4px solid rgba(255,107,107,0.4);
  color: #ff9999;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
}
.message {
  background: rgba(74,158,255,0.08);
  border-left-color: rgba(74,158,255,0.4);
  color: rgba(74,158,255,0.9);
}

/* Footer note + register link */
#login #backtoblog,
#login #nav { text-align: center; }

/* Replace "← Go to UWMHC Forum" link with plain "MAGMEN only" text */
#login #backtoblog a {
  font-size: 0;
  pointer-events: none;
  text-decoration: none;
}
#login #backtoblog a::before {
  content: 'MAGMEN only';
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

#login #nav a[href*="register"] { color: rgba(74,158,255,0.6) !important; }
#login #nav a[href*="register"]:hover { color: rgba(74,158,255,0.9) !important; }
