.recovery-body {
  margin: 0;
  min-height: 100vh;
  background: #dbeafe;
  background-image:
    radial-gradient(circle at 20% 20%, #bfdbfe, transparent 58%),
    radial-gradient(circle at 80% 80%, #dbeafe, transparent 58%);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.recovery-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.recovery-card {
  width: 100%;
  max-width: 460px;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  animation: recoveryFadeIn 0.4s ease;
}

.recovery-card h1 {
  margin: 0 0 6px;
  color: #27ae60;
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
}

.recovery-card .subtitle {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.5;
}

.recovery-bubble {
  position: absolute;
  width: 120px;
  height: 120px;
  top: -40px;
  right: -40px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  filter: blur(2px);
}

.recovery-form {
  display: grid;
}

.recovery-form label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 0.85rem;
}

.recovery-form input[type="email"],
.recovery-form input[type="password"],
.recovery-form input[type="text"] {
  width: 100%;
  margin-bottom: 18px;
  padding: 13px;
  border: 1px solid #cdd5d0;
  border-radius: 16px;
  background: #ffffff;
  color: #1b1f23;
  font-size: 0.95rem;
  transition: border-color 3s ease, box-shadow 3s ease, transform 3s ease;
}

.recovery-form input:focus {
  border-color: #2ecc71;
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}

.recovery-form .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.recovery-form .actions a,
.recovery-card > .link-row a,
.recovery-card .recovery-link {
  color: #27ae60;
  text-decoration: none;
  transition: color 3s ease;
}

.recovery-form .actions a:hover,
.recovery-form .actions a:focus,
.recovery-card > .link-row a:hover,
.recovery-card > .link-row a:focus,
.recovery-card .recovery-link:hover,
.recovery-card .recovery-link:focus {
  color: #2ecc71;
}

.recovery-form button,
.recovery-card .button,
.recovery-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: #2ecc71;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 3s ease, transform 3s ease, box-shadow 3s ease;
}

.recovery-form button:hover,
.recovery-form button:focus,
.recovery-card .button:hover,
.recovery-card .button:focus,
.recovery-card .btn:hover,
.recovery-card .btn:focus {
  background: #27ae60;
  color: #ffffff;
}

.recovery-form button:active,
.recovery-card .button:active,
.recovery-card .btn:active {
  transform: translateY(1px);
}

.recovery-card .alert,
.recovery-card .message-box {
  border-radius: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.recovery-alert-success {
  background: #e8fff0;
  border: 1px solid #b7ebc6;
  color: #137333;
}

.recovery-alert-error {
  background: #ffe8e8;
  border: 1px solid #ffb3b3;
  color: #b30000;
}

.recovery-help {
  margin: 0 0 22px;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.6;
}

.recovery-links {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 20px;
}

.recovery-frog {
  position: fixed;
  font-size: 6rem;
  opacity: 0.18;
  pointer-events: none;
  animation: recoveryWiggle 4s ease-in-out infinite alternate;
}

.recovery-frog:nth-child(1) { top: 10%; left: 15%; animation-duration: 5s; }
.recovery-frog:nth-child(2) { top: 30%; left: 70%; animation-duration: 6s; }
.recovery-frog:nth-child(3) { top: 55%; left: 40%; animation-duration: 4.5s; }
.recovery-frog:nth-child(4) { top: 75%; left: 20%; animation-duration: 7s; }
.recovery-frog:nth-child(5) { top: 85%; left: 80%; animation-duration: 5.5s; }

@keyframes recoveryFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes recoveryWiggle {
  0% { transform: translateX(0px) translateY(0px) rotate(0deg); }
  50% { transform: translateX(6px) translateY(-4px) rotate(2deg); }
  100% { transform: translateX(-6px) translateY(4px) rotate(-2deg); }
}

@media (min-width: 900px) {
  .recovery-card {
    max-width: 420px;
    padding: 30px;
  }
}

@media (max-width: 420px) {
  .recovery-shell {
    padding: 1rem;
  }

  .recovery-card {
    padding: 24px;
  }

  .recovery-frog {
    font-size: 4.5rem;
  }
}
