/* Forgot Password Page Custom Styles */
/* Match login/signup page background exactly */
body {
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #3730a3 50%,
    #1e3a8a 100%
  ) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  padding-top: 70px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100vw;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      transparent 98%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    linear-gradient(0deg, transparent 98%, rgba(255, 255, 255, 0.08) 100%);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* Improve forgot container to match signup/login better */
.forgot-container {
  max-width: 850px !important;
  border-radius: 20px !important;
  padding: 1rem !important;
  margin: 10px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

/* Blue banner header to match login page */
.forgot-header {
  background: linear-gradient(
    135deg,
    #1e40af 0%,
    #2563eb 50%,
    #3b82f6 100%
  );
  color: white !important;
  padding: 40px 25px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: -1rem -1rem 1.5rem -1rem;
  border-radius: 20px 20px 0 0;
}

.forgot-header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #0066ff 0%, #00c48c 100%);
  border-radius: 2px;
}

.forgot-header h1 {
  font-family: "Noto Sans Lao", "Space Grotesk", sans-serif !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: white !important;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.forgot-header p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.1rem !important;
  position: relative;
  z-index: 2;
}

/* Match button font to login/signup pages */
.btn-primary {
  font-family: "Noto Sans Lao", "Space Grotesk", "Inter", "Poppins",
    sans-serif !important;
}

/* Better responsive behavior */
@media (max-width: 768px) {
  .forgot-container {
    padding: 0.8rem !important;
    border-radius: 12px !important;
    max-height: calc(100vh - 60px);
  }

  .forgot-header {
    margin: -0.8rem -0.8rem 1.5rem -0.8rem;
    border-radius: 12px 12px 0 0;
  }

  .forgot-header h1 {
    font-size: 1.8rem !important;
  }

  .forgot-header p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  body {
    padding: 2px;
    padding-top: 40px;
  }

  .forgot-container {
    padding: 0.8rem !important;
    border-radius: 8px !important;
    max-height: calc(100vh - 50px);
  }

  .forgot-header {
    margin: -0.8rem -0.8rem 1.5rem -0.8rem;
    border-radius: 8px 8px 0 0;
  }

  .forgot-header h1 {
    font-size: 1.5rem !important;
  }

  .forgot-header p {
    font-size: 0.8rem !important;
  }
}

