#otp-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 340px;
    max-width: 90%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    font-family: "Segoe UI", sans-serif;
    text-align: center;
    animation: popupFade 0.25s ease-out;
}

#otp-popup h4 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #222;
}

#otp-popup input.otp-code {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#otp-popup .otp-verify-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
#otp-popup .otp-verify-btn:hover {
    background: #005bb5;
}
#otp-popup .otp-verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#otp-popup .otp-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #888;
    cursor: pointer;
}
#otp-popup .otp-close-btn:hover {
    color: #000;
}

.otp-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(50, 50, 50, 0.9);
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 15px;
    font-family: "Segoe UI", sans-serif;
    z-index: 99999;
    animation: fadein 0.3s ease-out;
}

@keyframes fadein {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes popupFade {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.4);
}


.otp-verify-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;

}

.quform-element-submit {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.quform-element-submit .quform-spacer {
    display: none !important;
  }