.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.otp-box {
  background: white;
  padding: 30px;
  width: 320px;
  border-radius: 12px;
  text-align: center;
}
.otp-input {
    width: 100%;
    font-size: 28px;
    text-align: center;
    letter-spacing: 10px;
    padding: 15px;
    border: 2px solid #00b37e;
    border-radius: 10px;
    
}

.otp-box input { 
   width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}


.otp-digit {
    width: 45px;
    height: 55px;
    font-size: 26px;
    text-align: center;
    border: 2px solid #00b37e;
    border-radius: 8px;
}



.otp-box button {
  width: 100%;
  padding: 10px;
  background: #00b386;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.otp-input:focus {
    border-color: #008f65;
    box-shadow: 0 0 8px rgba(0,179,126,0.5);
}


#otpMessage {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  animation: fadeIn 0.4s ease;
}

.success {
  background: #d1fae5;
  color: #065f46;
}

.error {
  background: #fee2e2;
  color: #991b1b;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
