/* Prevent unwanted scrollbars */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.vh-100 {
  min-height: 100vh !important;
  height: auto !important;
}
.custom-body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(#FEF1EC);
  min-height: 100vh;
  overflow-x: hidden;
}
/* ===== Login Card ===== */
.login-card {
 max-width: 400px;
  width: 100%;
  padding: 1.5rem;
  border-radius: 15px;
  background: #fcded4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
}

.login-logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin: 0 auto 1rem;
}

/* ===== Form Styles ===== */
.form-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-heading {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #333;
  font-size: 1.25rem;
}

input[type="tel"] {
  width: 100%;
  padding: 0.75rem 0;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: transparent;
  transition: all 0.3s ease;
}

input[type="tel"]:focus {
  border-bottom: 2px solid #FF4500 !important;
  box-shadow: none;
  outline: none;
}

label.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  color: #555;
}

/* ===== Button Styles ===== */
.login-btn {
  background: linear-gradient(to right, #FF7E5F, #FD3A69);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.login-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
/* Resend Otp Button */
#resend{
  transition: all 0.3s ease;
  cursor: pointer;
}

#resend:hover {
  color: #e63946 !important;
  text-decoration: underline !important;
}

#resend:disabled {
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== OTP Modal Styles ===== */
.modal-content {
  border-radius: 20px;
  background: #fff5f2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: none;
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-title {
  font-size: 1.3rem;
  color: #FF4500;
}

.otp-input {
  width: 40px;
  height: 50px;
  font-size: 1.2rem;
  border: none;
  border-bottom: 2px solid #ddd;
  margin: 0 5px;
  text-align: center;
  transition: all 0.3s ease;
  background-color: transparent;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.otp-input:focus {
  border-bottom: 2px solid #FF4500;
  box-shadow: none;
  outline: none;
  background-color: rgba(255, 69, 0, 0.05);
}

.otp-input:not(:placeholder-shown) {
  border-bottom: 2px solid #28a745;
}

.otp-input:hover {
  border-bottom: 2px solid #FF4500;
  background-color: rgba(255, 69, 0, 0.02);
}

/* Mobile optimization for OTP inputs */
@media (max-width: 576px) {
  .otp-input {
    width: 35px;
    height: 45px;
    font-size: 1.1rem;
    margin: 0 3px;
  }
  
  /* Increase touch target size on mobile */
  .otp-input {
    min-height: 44px; /* iOS recommended minimum */
  }
}

/* Disable number input spinners */
.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.otp-input[type=number] {
  -moz-appearance: textfield;
}

#verifyOtpBtn {
  padding: 0.75rem;
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* ===== Desktop Styles ===== */
@media (min-width: 768px) {
  .login-card {
    max-width: 420px;
    padding: 2.5rem;
  }

  .login-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
  }

  .login-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .form-wrapper {
    padding: 2.5rem;
    border-radius: 25px;
  }

  .form-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  input[type="tel"] {
    font-size: 1.1rem;
    padding: 1rem 0;
  }

  label.form-label {
    font-size: 1rem;
  }

  .login-btn {
    padding: 0.85rem;
    font-size: 1.1rem;
  }

  .modal-content {
    padding: 2rem;
  }

  .otp-input {
    width: 45px;
    height: 55px;
    font-size: 1.3rem;
  }

  #verifyOtpBtn {
    padding: 0.85rem;
    font-size: 1.1rem;
  }
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .login-card {
    margin: 20px 0;
  }
}

/* Add this to user-dashb.css or user-login.css */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 999;
}