/* ========== OTP 樣式 ========== */

/* OTP 區域容器 - 相對定位 */
#otpBlock {
    position: relative;
    margin-bottom: 10px;
}

/* OTP 輸入框 - 全寬 */
#otp {
    width: 100%;
    height: 32px;
    padding-right: 110px;  /* 為按鈕留出空間 */
}

/* 發送驗證碼按鈕 - 絕對定位在輸入框內 */
#sendOtpBtn {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: #002D41;
    border: none;
    border-radius: 0 8px 8px 0; 
    padding: 0 12px;
    font-size: 16px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 48px;
    line-height: 26px;
}

#sendOtpBtn:hover:not(:disabled) {
    background: #0d5a9a;
}

#sendOtpBtn:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* OTP 狀態訊息 */
#otpStatus {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: white;
}

#otpStatus.success {
    color: #90EE90;
}

#otpStatus.error {
    color: #ff6b6b;
}

/* 響應式：手機版調整 */
@media (max-width: 768px) {
    #otp {
        padding-right: 100px;
    }
    
    #sendOtpBtn {
        padding: 10px 8px;
        font-size: 16px;
    }
	#form .body .form .empty{
		display:none;
	}
}