/* verify_otp.css */

/* Form Section Container */
.verify-otp-form-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 */
.verify-otp-form-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;
}

.verify-otp-form-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 */
.verify-otp-form-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: verify-otp-glowText 2.5s ease-in-out infinite alternate;
}

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

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

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

/* Inputs */
.verify-otp-form-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;
}

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

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

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

/* Button Styling */
.verify-otp-form-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;
}

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

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

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

/* Animations */

/* Glow Text */
@keyframes verify-otp-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 verify-otp-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-7px);
  }
  50% {
    transform: translateX(7px);
  }
  75% {
    transform: translateX(-7px);
  }
}

/* Responsive Adjustments */

/* Smaller tablets and large phones */
@media (max-width: 768px) {
  .verify-otp-form-card {
    max-width: 320px;
    padding: 24px 20px;
  }

  .verify-otp-form-title {
    font-size: 1.4rem;
  }

  .verify-otp-form-group input {
    font-size: 1rem;
    padding: 12px 14px;
  }

  .verify-otp-form-button {
    font-size: 1.05rem;
    padding: 14px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .verify-otp-form-section {
    padding: 30px 15px;
  }

  .verify-otp-form-card {
    max-width: 100%;
    padding: 20px 15px;
    border-radius: 10px;
  }

  .verify-otp-form-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .verify-otp-form-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .verify-otp-form-group input {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

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