/* 图形验证码弹窗样式 - 登录、找回密码、注册等页面共用 */
.captcha-dialog-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 99999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.captcha-dialog {
    background: white;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100000;
}
.captcha-dialog-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.captcha-dialog-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}
.captcha-dialog-close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.captcha-dialog-close:hover {
    color: #333;
}
.captcha-dialog-body {
    padding: 20px;
    overflow: visible;
    position: relative;
}
.captcha-input-wrapper {
    width: 100%;
}
.captcha-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}
.captcha-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.captcha-input {
    flex: 1;
    min-width: 0;
}
.captcha-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 40px;
    position: relative;
    overflow: visible;
}
.captcha-image {
    width: 100px !important;
    height: 40px !important;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain;
    background: #fff;
    position: relative;
    z-index: 10;
}
.captcha-loading {
    width: 100px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 12px;
}
.captcha-error {
    margin-top: 5px;
    min-height: 20px;
    color: #f56c6c;
    font-size: 12px;
}
.captcha-error .false-icon {
    margin-right: 4px;
}
.captcha-dialog-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}
