.auth-body.frog-login-body {
  margin: 0;
  min-height: 100vh;
  background: #dbeafe;
  background-image:
    radial-gradient(circle at 20% 20%, #bfdbfe, transparent 60%),
    radial-gradient(circle at 80% 80%, #dbeafe, transparent 60%);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.frog-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.frog-login-card {
  width: 100%;
  max-width: 380px;
  padding: 34px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  animation: frogLoginFadeIn 0.4s ease;
}

.frog-login-bubble {
  position: absolute;
  width: 120px;
  height: 120px;
  top: -40px;
  right: -40px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  filter: blur(2px);
}

.frog-login-card h1 {
  margin: 0 0 12px;
  color: #3970c3;
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
}

.frog-login-card h2 {
  margin: 0 0 6px;
  color: #27ae60;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

.frog-login-card .subtitle {
  margin: 0 0 26px;
  color: #6b7280;
  font-size: 0.9rem;
  text-align: center;
}

.frog-login-form {
  display: grid;
}

.frog-login-form label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 0.85rem;
}

.frog-login-form input:not([type="hidden"]) {
  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;
}

.frog-login-form input:not([type="hidden"]):focus {
  border-color: #2ecc71;
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}

.frog-login-form .invalid-feedback {
  margin-top: -10px;
  margin-bottom: 18px;
}

.frog-login-form .actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 22px;
  font-size: 0.8rem;
}

.frog-login-form .actions-stack {
  flex-direction: column;
  justify-content: flex-start;
}

.frog-login-form .helper-copy {
  color: #6b7280;
}

.frog-login-form .actions a {
  color: #27ae60;
  text-decoration: none;
  transition: color 3s ease;
}

.frog-login-form .actions a:hover,
.frog-login-form .actions a:focus {
  color: #2ecc71;
}

.frog-login-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 16px;
  background: #2ecc71;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 300;
  transition: background 3s ease, transform 3s ease;
}

.frog-login-form button:hover,
.frog-login-form button:focus {
  background: #27ae60;
}

.frog-login-form button:active {
  transform: translateY(1px);
}

.frog-login-card .error-box,
.frog-login-card .success-box {
  margin-bottom: 22px;
}

.frog {
  position: fixed;
  font-size: 6rem;
  opacity: 0.18;
  pointer-events: none;
  animation: frogWiggle 4s ease-in-out infinite alternate;
}

.frog:nth-child(1) {
  top: 10%;
  left: 15%;
  animation-duration: 5s;
}

.frog:nth-child(2) {
  top: 30%;
  left: 70%;
  animation-duration: 6s;
}

.frog:nth-child(3) {
  top: 55%;
  left: 40%;
  animation-duration: 4.5s;
}

.frog:nth-child(4) {
  top: 75%;
  left: 20%;
  animation-duration: 7s;
}

.frog:nth-child(5) {
  top: 85%;
  left: 80%;
  animation-duration: 5.5s;
}

.error-box,
.success-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  animation: frogPop 0.25s ease;
}

.error-box {
  background: #ffe8e8;
  border: 1px solid #ffb3b3;
  color: #b30000;
}

.success-box {
  background: #e8fff0;
  border: 1px solid #b7ebc6;
  color: #137333;
}

.error-box .icon,
.success-box .icon {
  font-size: 1.4rem;
}

@keyframes frogLoginFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes frogWiggle {
  0% {
    transform: translateX(0px) translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateX(6px) translateY(-4px) rotate(2deg);
  }

  100% {
    transform: translateX(-6px) translateY(4px) rotate(-2deg);
  }
}

@keyframes frogPop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .frog-login-card {
    max-width: 450px;
    padding: 30px;
  }
}

@media (max-width: 420px) {
  .frog-login {
    padding: 1rem;
  }

  .frog-login-card {
    padding: 24px;
  }

  .frog {
    font-size: 4.5rem;
  }
}
