/* 验证码组件样式 */

.verification-code-container {
    width: 100%;
}

/* 验证方式选择标签 */
.verification-method-tabs {
    display: flex;
    margin: 15px 0;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    overflow: hidden;
}

.verification-tab-item {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    background: #f5f7fa;
    color: #606266;
    cursor: pointer;
    border-right: 1px solid #e4e7ed;
    transition: all 0.3s ease;
}

.verification-tab-item:last-child {
    border-right: none;
}

.verification-tab-item:hover {
    background: #ecf5ff;
    color: #409eff;
}

.verification-tab-item.active {
    background: #409eff;
    color: #fff;
}

/* 滑块验证码容器 */
.slider-verification-box {
    margin: 15px 0 0 0;
}

/* 验证码输入框容器 */
.sms-verification-box,
.voice-verification-box,
.qr-verification-box {
    margin: 15px 0;
}

/* 验证提示文字 */
.verification-tip {
    color: #f56c6c;
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.4;
}

/* 二维码验证容器 */
.qr-code-container {
    text-align: center;
    padding: 20px;
}

.qr-code-display {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    position: relative;
}

.qr-code-display img {
    max-width: 100%;
    max-height: 100%;
}

.qr-loading {
    color: #909399;
    font-size: 14px;
}

.qr-status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.qr-status-overlay.status-pending {
    background-color: rgba(230, 247, 255, 0.9);
}

.qr-status-overlay.status-pending .status-text {
    color: #1890ff;
    font-size: 16px;
    font-weight: 500;
}

.qr-status-overlay.status-confirmed {
    background-color: rgba(246, 255, 237, 0.9);
}

.qr-status-overlay.status-confirmed .status-text {
    color: #52c41a;
    font-size: 16px;
    font-weight: 500;
}

.qr-status-overlay.status-rejected {
    background-color: rgba(255, 242, 240, 0.9);
}

.qr-status-overlay.status-rejected .status-text {
    color: #ff4d4f;
    font-size: 16px;
    font-weight: 500;
}

.qr-status-overlay.status-expired {
    background-color: rgba(255, 247, 230, 0.9);
}

.qr-status-overlay.status-expired .status-text {
    color: #fa8c16;
    font-size: 16px;
    font-weight: 500;
}

.qr-status-overlay.status-invalid {
    background-color: rgba(245, 245, 245, 0.9);
}

.qr-status-overlay.status-invalid .status-text {
    color: #8c8c8c;
    font-size: 16px;
    font-weight: 500;
}

.qr-tip {
    color: #606266;
    font-size: 14px;
}

.qr-timeout {
    text-align: center;
}

.qr-timeout .timeout-icon {
    font-size: 48px;
    color: #909399;
    margin-bottom: 10px;
}

.qr-timeout .timeout-text {
    font-size: 16px;
    color: #606266;
    margin-bottom: 5px;
}

.qr-timeout .timeout-tip {
    font-size: 14px;
    color: #909399;
    margin-bottom: 15px;
}

.verification-inputBox {
    position: relative;
    margin-top: 20px;
}

.verification-inputBox .item1 {
    text-align: center;
}

.verification-inputBox .codeButton {
    position: absolute;
    top: 0;
    border: 0;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    right: 0px;
    width: 134px;
    height: 38px;
    line-height: 38px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
}

/* 拖拽验证区域 */
#__Verification {
    width: 100%;
}

/* 短信和语音验证码输入框 */
.verification-inputBox input.layui-input {
    width: calc(100% - 140px);
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

/* 按钮样式 */
.yzm-btn {
    width: 134px;
    height: 38px;
    line-height: 38px;
}

