/* Layout */
#recovery {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

#recovery .recovery-container { width: 100%; display: flex; justify-content: center; }

/* Card */
.recovery-card {
  position: relative;
  width: 360px;
  max-width: 92vw;
  background: #000000;
  border-radius: 18px;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 18px rgba(0,0,0,.45);
  padding: 28px 20px 22px;
  text-align: center;
}

/* Top badge */
.recovery-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF; /* badge blanco */
  color: #b80000; /* texto rojo */
  font-weight: 800;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 0;
}

/* Icon circle */
.recovery-icon { margin-top: 14px; margin-bottom: 12px; }
/* sin círculo extra ni borde: sólo la imagen */
.recovery-icon__circle { display: inline-block; background: transparent; border: 0; width: auto; height: auto; }
.recovery-icon__circle img { width: 56px; height: 56px; object-fit: contain; display: block; }

/* Form */
.recovery-form { width: 100%; margin-top: 4px; }
.recovery-form form { display: flex; flex-direction: column; gap: 12px; }

/* Inputs from component */
.recovery-form input,
.recovery-form input[type="email"],
.recovery-form .form-control {
  width: 100%;
  background: #FFFFFF;
  border: 0;
  border-radius: 8px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  text-align: left;
  color: #222;
}
.recovery-form input::placeholder,
.recovery-form .form-control::placeholder {
  color: #909090;
}

/* Component-specific override (OctoberCMS resetPassword renders .ui-input) */
#recovery .recovery-form .ui-input {
  color: #909090 !important;
}
#recovery .recovery-form .ui-input::placeholder {
  color: #909090 !important;
}

/* Submit button */
#recovery .recovery-form button,
#recovery .recovery-form input[type="submit"],
#recovery .recovery-form .btn,
#recovery .recovery-form .btn-primary {
  width: 100%;
  background-color: #ff0815 !important; /* rojo sólido (no rosa) */
  border-color: #ff0815 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  height: 44px;
  padding: 0 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  opacity: 1 !important;
  background-image: none !important;
  filter: none !important;
  -webkit-appearance: none;
  appearance: none;
}
#recovery .recovery-form .btn:hover,
#recovery .recovery-form button:hover,
#recovery .recovery-form input[type="submit"]:hover {
  background-color: #C9142F !important; /* tono más oscuro al hover */
  border-color: #C9142F !important;
}

/* If Bootstrap 5 variables exist, force them too */
#recovery .recovery-form .btn-primary {
  --bs-btn-bg: #E31837 !important;
  --bs-btn-border-color: #E31837 !important;
  --bs-btn-hover-bg: #C9142F !important;
  --bs-btn-hover-border-color: #C9142F !important;
  --bs-btn-active-bg: #B0122B !important;
  --bs-btn-active-border-color: #B0122B !important;
}

/* Link back */
.recovery-back {
  display: inline-block;
  margin-top: 10px;
  color: #ffffff;
  text-decoration: underline;
  font-size: 14px;
}

/* Success text (if any) */
.recovery-success { color: #d4ffd4; font-size: 14px; margin: 0; }

@media (max-width: 420px) {
  .recovery-card { width: 100%; }
  .recovery-badge { font-size: 12px; padding: 8px 12px; }
}
/* legacy yellow-card styles removed */