/* FULLSCREEN OVERLAY */
#otpModal {
    position: fixed;          /* stay on top of page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);  /* dark transparent background */
    display: none;                /* hidden by default */
    align-items: center;          /* vertical center */
    justify-content: center;      /* horizontal center */
    z-index: 9999999999999999;                /* ensure above everything */
}

/* MODAL BOX */
#otpModal .otp-modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 95%;
    max-width: 500px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.otp-modal-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
}

.otp-modal-content p {
    font-size: 14px;
    color: #555;
    margin-top: 0;
}

#otpInput {
    width: 100%;
    padding: 8px 10px;
    margin: 8px 0 4px;
    font-size: 16px;
}


.otp-actions {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.otp-actions button {
    flex: 1;
    padding: 8px;
    cursor: pointer;
}
.otp-input-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 80%;
    margin: auto auto;
    margin-top: 20px;
}

.otp-input {
    width: 48px;
    height: 48px;
    font-size: 22px;
    text-align: center;
    border: 2px solid #7779ad;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
    color: #00006e;
}

.otp-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

.otp-error {
    color: red;
    margin-top: 6px;
    display: block;
    font-size: 16px;
    min-height: 18px;
}

  @media (max-width: 680px){

.otp-input-group {
    gap: 6px;
    width: 100%;
    }
    .otp-input {
    width: 44px;
    height: 46px;
    font-size: 20px;
    }
  }