/* ======================================================
   GF Hearts — wp-login.php branding
   ====================================================== */

body.login {
  background-color: #F5EDD8;
  font-family: 'Lato', system-ui, sans-serif;
}

/* Logo — URL injected as inline style via functions.php */
#login h1 a,
.login h1 a {
  background-image: none; /* overridden by inline style */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 250px;
  height: 80px;
  display: block;
  text-indent: -9999px;
}

/* Form card */
#loginform,
#lostpasswordform,
#registerform {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(26, 112, 118, 0.10);
  padding: 1.75rem 2rem;
  background-color: #fff;
}

/* Labels */
.login label {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1A7076;
}

/* Inputs */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  border: 1.5px solid rgba(26, 112, 118, 0.25);
  border-radius: 10px;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #1A7076;
  padding: 0.6rem 0.85rem;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border-color: #2AB8CC !important;
  box-shadow: 0 0 0 3px rgba(42, 184, 204, 0.18) !important;
  outline: none;
}

/* Checkbox — SVG background is more reliable than ::after positioning */
.login input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 112, 118, 0.35);
  border-radius: 3px;
  background: #fff;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.login input[type="checkbox"]:checked {
  background-color: #E8602A;
  border-color: #E8602A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5l2.5 2.5 4.5-4.5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

/* Submit button */
.login #wp-submit,
.login .button-primary {
  background-color: #E8602A !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: 'Lato', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.04em !important;
  box-shadow: none !important;
  transition: opacity 0.2s !important;
  padding: 0.4rem 1.25rem !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.login #wp-submit:hover,
.login .button-primary:hover {
  background-color: #E8602A !important;
  opacity: 0.88;
}

/* Links */
.login #nav a,
.login #backtoblog a {
  color: #1A7076;
  text-decoration: none;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.85rem;
}

.login #nav a:hover,
.login #backtoblog a:hover {
  color: #E8602A;
}
