/* Body & Background */
body {
  background: linear-gradient(135deg, #0d1117 0%, #1a222e 100%);
  font-family: "Aldrich", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  color: #f0f6fc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;  /* Footer thik moto niche thakbe */
  justify-content: center;
  align-items: center;
}

/* Form Section Container */
.form-section {
  min-height: calc(100vh - 60px); /* footer height 60px dhore */
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}

/* Card Styling */
.form-card {
  background: #161b22;
  padding: 30px 25px;  /* Padding ektu komeche */
  max-width: 500px;  /* Width ektu komeche */
  width: 100%;
  border-radius: 16px;
  box-shadow:
    0 0 8px #00ffcc99,
    0 0 20px #00ffcc66,
    0 10px 30px rgba(0, 255, 204, 0.25);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.form-card:hover {
  box-shadow:
    0 0 15px #00ffcccc,
    0 0 40px #00ffccaa,
    0 15px 45px rgba(0, 255, 204, 0.45);
  transform: translateY(-6px);
}

/* Title & Subtitle */
.form-title {
  font-size: 1.6rem;  /* size komeche */
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #00ffcc;
  text-shadow:
    0 0 5px #00ffccee,
    0 0 15px #00ffccbb;
  animation: glowText 2.5s ease-in-out infinite alternate;
}

.form-subtitle {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 30px;
  color: #94a3b8;
  font-weight: 500;
}

/* Form Group */
.form-group {
  margin-bottom: 22px;
  position: relative;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #f0f6fc;
  user-select: none;
}

/* Inputs */
.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #2d3540;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #0d1117;
  color: #f0f6fc;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  outline-offset: 2px;
  outline-color: transparent;
  box-shadow: inset 0 0 8px #00000080;
  caret-color: #00ffcc;
}

.form-group input::placeholder {
  color: #94a3b8;
  font-style: italic;
  transition: color 0.3s ease;
}

.form-group input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 14px #00ffccaa;
  outline-color: #00ffcc;
  color: #f0f6fc;
}

.form-group input:focus::placeholder {
  color: #c0fefd;
}

/* Required Field Asterisk */
.form-group span {
  color: #f87171;
  font-weight: 700;
}

/* Button Styling */
.form-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #00ffc3, #00d8af);
  border: none;
  border-radius: 14px;
  color: #0d1117;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 6px 20px #00ffccaa;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.15s ease;
  letter-spacing: 1.1px;
  user-select: none;
}

.form-button:hover {
  background: linear-gradient(90deg, #00d8af, #00ffc3);
  box-shadow: 0 10px 28px #00ffccdd;
  transform: translateY(-3px);
}

.form-button:active {
  transform: scale(0.96);
}

/* Link Text */
.form-link {
  text-align: center;
  margin-top: 18px;
  font-size: 0.95rem;
  color: #94a3b8;
}

.form-link a {
  color: #00ffcc;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-link a:hover {
  color: #0ee6b7;
  text-decoration: underline;
}

/* Error Messages */
.form-errors {
  background: #2c0b0e;
  padding: 12px 18px;
  margin-bottom: 25px;
  border: 1px solid #ff5b5b;
  border-radius: 10px;
  color: #ff9999;
  font-weight: 600;
  animation: shake 0.4s ease;
}

/* Animations */

/* Glow Text */
@keyframes glowText {
  0% {
    text-shadow: 0 0 5px #00ffccbb, 0 0 12px #00ffcc88;
  }
  100% {
    text-shadow: 0 0 15px #00ffccdd, 0 0 30px #00ffcccc;
  }
}

/* Shake Effect */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-7px);
  }
  50% {
    transform: translateX(7px);
  }
  75% {
    transform: translateX(-7px);
  }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .form-card {
    padding: 30px 25px;
    border-radius: 12px;
  }

  .form-title {
    font-size: 1.6rem;
  }

  .form-button {
    font-size: 1rem;
    padding: 14px;
  }
}

/* NEW - Footer styling fix */
footer {
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  color: #94a3b8;
  background-color: #0d1117;
  box-sizing: border-box;
  position: relative; /* fixed ba absolute na rakha valo jodi overlap hoy */
  font-size: 0.9rem;
}

.forgot-password-link {
  color: #00ffcc;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
  user-select: none;
}

.forgot-password-link:hover {
  color: #0ee6b7;
  text-decoration: underline;
}

/* forgot_password.css */

/* Form Section Container */
.forgot-pass-section {
  min-height: calc(100vh - 60px); /* assuming footer height */
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(135deg, #0d1117 0%, #1a222e 100%);
}

/* Card Styling */
.forgot-pass-card {
  background: #161b22;
  padding: 30px 30px;
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow:
    0 0 10px #00ffcc99,
    0 0 25px #00ffcc66,
    0 12px 40px rgba(0, 255, 204, 0.25);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.forgot-pass-card:hover {
  box-shadow:
    0 0 18px #00ffcccc,
    0 0 45px #00ffccaa,
    0 18px 55px rgba(0, 255, 204, 0.45);
  transform: translateY(-6px);
}

/* Title & Subtitle */
.forgot-pass-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #00ffcc;
  text-shadow:
    0 0 6px #00ffccee,
    0 0 20px #00ffccbb;
  animation: glowText 2.5s ease-in-out infinite alternate;
}

.forgot-pass-subtitle {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 28px;
  color: #94a3b8;
  font-weight: 500;
}

/* Form Group */
.forgot-pass-group {
  margin-bottom: 24px;
  position: relative;
}

/* Labels */
.forgot-pass-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #f0f6fc;
  user-select: none;
}

/* Inputs */
.forgot-pass-group input {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #2d3540;
  border-radius: 12px;
  font-size: 1.1rem;
  background-color: #0d1117;
  color: #f0f6fc;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  outline-offset: 2px;
  outline-color: transparent;
  box-shadow: inset 0 0 10px #00000080;
  caret-color: #00ffcc;
}

.forgot-pass-group input::placeholder {
  color: #94a3b8;
  font-style: italic;
  transition: color 0.3s ease;
}

.forgot-pass-group input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 18px #00ffccaa;
  outline-color: #00ffcc;
  color: #f0f6fc;
}

.forgot-pass-group input:focus::placeholder {
  color: #c0fefd;
}

/* Button Styling */
.forgot-pass-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(90deg, #00ffc3, #00d8af);
  border: none;
  border-radius: 16px;
  color: #0d1117;
  font-weight: 800;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 26px #00ffccaa;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.15s ease;
  letter-spacing: 1.2px;
  user-select: none;
  text-transform: uppercase;
}

.forgot-pass-button:hover {
  background: linear-gradient(90deg, #00d8af, #00ffc3);
  box-shadow: 0 12px 36px #00ffccdd;
  transform: translateY(-4px);
}

.forgot-pass-button:active {
  transform: scale(0.96);
}

/* Error Messages */
.forgot-pass-errors {
  background: #2c0b0e;
  padding: 14px 20px;
  margin-bottom: 28px;
  border: 1.5px solid #ff5b5b;
  border-radius: 14px;
  color: #ff9999;
  font-weight: 700;
  animation: shake 0.4s ease;
  user-select: none;
}

/* Success Message */
.forgot-pass-success {
  background: #0b2e0b;
  padding: 14px 20px;
  margin-bottom: 28px;
  border: 1.5px solid #0cff00;
  border-radius: 14px;
  color: #00ff00;
  font-weight: 700;
  user-select: none;
  text-align: center;
  font-size: 1rem;
}

/* Animations */

/* Glow Text */
@keyframes glowText {
  0% {
    text-shadow: 0 0 6px #00ffccbb, 0 0 15px #00ffcc88;
  }
  100% {
    text-shadow: 0 0 20px #00ffccdd, 0 0 50px #00ffcccc;
  }
}

/* Shake Effect */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-7px);
  }
  50% {
    transform: translateX(7px);
  }
  75% {
    transform: translateX(-7px);
  }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .forgot-pass-card {
    padding: 28px 20px;
    border-radius: 12px;
    max-width: 100%;
  }

  .forgot-pass-title {
    font-size: 1.5rem;
  }

  .forgot-pass-button {
    font-size: 1.1rem;
    padding: 16px;
  }
}

/* reset_password.css */

/* Section Container */
.reset-pass-section {
  min-height: calc(100vh - 60px); /* considering footer height */
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(135deg, #0d1117 0%, #1a222e 100%);
}

/* Card Styling */
.reset-pass-card {
  background: #161b22;
  padding: 30px 30px;
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow:
    0 0 10px #00ffcc99,
    0 0 25px #00ffcc66,
    0 12px 40px rgba(0, 255, 204, 0.25);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.reset-pass-card:hover {
  box-shadow:
    0 0 18px #00ffcccc,
    0 0 45px #00ffccaa,
    0 18px 55px rgba(0, 255, 204, 0.45);
  transform: translateY(-6px);
}

/* Title & Subtitle */
.reset-pass-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #00ffcc;
  text-shadow:
    0 0 6px #00ffccee,
    0 0 20px #00ffccbb;
  animation: glowText 2.5s ease-in-out infinite alternate;
}

.reset-pass-subtitle {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 28px;
  color: #94a3b8;
  font-weight: 500;
}

/* Form Group */
.reset-pass-group {
  margin-bottom: 24px;
  position: relative;
}

/* Labels */
.reset-pass-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #f0f6fc;
  user-select: none;
}

/* Inputs */
.reset-pass-group input {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #2d3540;
  border-radius: 12px;
  font-size: 1.1rem;
  background-color: #0d1117;
  color: #f0f6fc;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  outline-offset: 2px;
  outline-color: transparent;
  box-shadow: inset 0 0 10px #00000080;
  caret-color: #00ffcc;
}

.reset-pass-group input::placeholder {
  color: #94a3b8;
  font-style: italic;
  transition: color 0.3s ease;
}

.reset-pass-group input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 18px #00ffccaa;
  outline-color: #00ffcc;
  color: #f0f6fc;
}

.reset-pass-group input:focus::placeholder {
  color: #c0fefd;
}

/* Button Styling */
.reset-pass-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(90deg, #00ffc3, #00d8af);
  border: none;
  border-radius: 16px;
  color: #0d1117;
  font-weight: 800;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 26px #00ffccaa;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.15s ease;
  letter-spacing: 1.2px;
  user-select: none;
  text-transform: uppercase;
}

.reset-pass-button:hover {
  background: linear-gradient(90deg, #00d8af, #00ffc3);
  box-shadow: 0 12px 36px #00ffccdd;
  transform: translateY(-4px);
}

.reset-pass-button:active {
  transform: scale(0.96);
}

/* Error Messages */
.reset-pass-errors {
  background: #2c0b0e;
  padding: 14px 20px;
  margin-bottom: 28px;
  border: 1.5px solid #ff5b5b;
  border-radius: 14px;
  color: #ff9999;
  font-weight: 700;
  animation: shake 0.4s ease;
  user-select: none;
}

/* Success Message */
.reset-pass-success {
  background-color: #0a3a30;
  padding: 18px 20px;
  border-radius: 14px;
  color: #a0f0e5;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 20px #00ffccaa;
  user-select: none;
}

/* Animations */

/* Glow Text */
@keyframes glowText {
  0% {
    text-shadow: 0 0 6px #00ffccbb, 0 0 15px #00ffcc88;
  }
  100% {
    text-shadow: 0 0 20px #00ffccdd, 0 0 50px #00ffcccc;
  }
}

/* Shake Effect */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-7px);
  }
  50% {
    transform: translateX(7px);
  }
  75% {
    transform: translateX(-7px);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .reset-pass-card {
    max-width: 320px;
    padding: 24px 20px;
  }

  .reset-pass-title {
    font-size: 1.5rem;
  }

  .reset-pass-group input {
    font-size: 1rem;
    padding: 12px 14px;
  }

  .reset-pass-button {
    font-size: 1.1rem;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .reset-pass-section {
    padding: 30px 15px;
  }

  .reset-pass-card {
    max-width: 100%;
    padding: 20px 15px;
    border-radius: 12px;
  }

  .reset-pass-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .reset-pass-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .reset-pass-group input {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .reset-pass-button {
    font-size: 1rem;
    padding: 14px;
  }
}
