/* Espacio Premier — pantalla de login custom */
body.login {
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(255, 201, 60, 0.16), transparent 60%),
    radial-gradient(800px 500px at 90% 90%, rgba(255, 201, 60, 0.08), transparent 60%),
    linear-gradient(160deg, #111418 0%, #1b2027 100%);
  background-attachment: fixed;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 16px 24px;
}

#login {
  width: 400px;
  max-width: 100%;
  padding: 12px 0 8px;
  margin: auto;
  flex-shrink: 0;
}

/* Logo del negocio */
#login h1 a {
  background-image: url("/wp-content/uploads/2026/09/logo-espaciopremier.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  margin: 0 auto 8px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(255, 201, 60, 0.25);
}

/* Título bajo el logo */
.ep-login-brand {
  text-align: center;
  color: #e5e7eb;
  margin: 0 0 18px;
}
.ep-login-brand strong {
  display: block;
  letter-spacing: 0.25em;
  font-size: 14px;
}
.ep-login-brand span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #ffc93c;
  text-transform: uppercase;
}

/* Tarjeta del formulario */
#loginform,
#lostpasswordform,
#registerform {
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 28px 26px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

#loginform label,
#lostpasswordform label,
#registerform label {
  font-weight: 600;
  color: #374151;
}

#loginform .input,
#lostpasswordform .input,
#registerform .input {
  border: 1px solid #e9ebef;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  margin-top: 6px;
  background: #f8fafc;
}

#loginform .input:focus,
#lostpasswordform .input:focus,
#registerform .input:focus {
  outline: 2px solid #ffc93c;
  border-color: #ffc93c;
  background: #fff;
  box-shadow: none;
}

/* Botón principal */
.wp-core-ui #login .button-primary {
  background: #ffc93c;
  border: 0;
  border-radius: 12px;
  color: #111418;
  font-weight: 800;
  font-size: 15px;
  padding: 8px 20px;
  min-height: 48px;
  text-shadow: none;
  box-shadow: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.wp-core-ui #login .button-primary:hover {
  background: #eab308;
  color: #111418;
  transform: translateY(-1px);
}

/* Recordarme + enlaces */
#login .forgetmenot label {
  color: #6b7280;
  font-weight: 400;
}

#nav,
#backtoblog {
  text-align: center;
}

#login #nav a,
#login #backtoblog a {
  color: #f3f4f6;
  text-decoration: none;
}

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

/* Mensajes y errores con el estilo app */
#login_error,
.login .message,
.login .success {
  border-radius: 12px;
  border-left-color: #ffc93c;
}

.ep-login-foot {
  margin-top: 18px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
  font-style: italic;
}
.ep-login-foot i {
  display: block;
  width: 34px;
  height: 3px;
  background: #ffc93c;
  margin: 8px auto 0;
  border-radius: 2px;
}

@media (max-width: 480px) {
  #login h1 a {
    width: 104px;
    height: 104px;
    border-radius: 22px;
  }
  #loginform,
  #lostpasswordform,
  #registerform {
    padding: 22px 18px;
  }
}
