/* KCN Portal — Login page styles */

body.login {
  background: #002957;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

#login {
  background: #fff;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  width: 400px;
  max-width: 96vw;
}

#login h1 a {
  background-image: url(/wp-content/plugins/kcn-portal/assets/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 180px;
  height: 60px;
  display: block;
  margin: 0 auto 32px;
  text-indent: -9999px;
  overflow: hidden;
}

#loginform input[type="text"],
#loginform input[type="password"],
.login form input[type="text"],
.login form input[type="password"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
  border-color: #002957;
  box-shadow: 0 0 0 3px rgba(0,41,87,0.1);
}

#loginform label,
.login form label {
  font-size: 13px;
  font-weight: 600;
  color: #002957;
  display: block;
  margin-bottom: 4px;
}

.wp-submit,
#loginform .submit {
  margin-top: 8px;
}

.wp-submit #wp-submit,
#loginform .submit input[type="submit"],
#wp-submit {
  background: #002957;
  color: #fff;
  width: 100%;
  border-radius: 6px;
  padding: 14px;
  font-size: 16px;
  font-family: 'Lexend', 'Inter', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.wp-submit #wp-submit:hover,
#loginform .submit input[type="submit"]:hover,
#wp-submit:hover {
  background: #001b3a;
}

/* Hide lost password and back to blog links */
#nav,
#backtoblog {
  display: none !important;
}

/* Error / notice messages */
#login_error,
.login .message,
.login .success {
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Remove WordPress login form max-width override */
.login #login {
  margin: 0;
  padding: 0;
}
