.show2fa-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* 输入框样式 */
.show2fa-content input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.show2fa-content input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.show2fa-content input[type="text"]::placeholder {
    color: #999;
}

/* 按钮样式 */
.show2fa-content input[type="button"] {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    width: 100%;
    max-width: 400px;
}

.show2fa-content input[type="button"]:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), #08a163);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.show2fa-content input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.show2fa-content input[type="button"]:disabled {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}
.tips{
    text-align: left;
}
/* 验证码显示区域 */
.show2fa-content h2#code {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 10px;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px 20px;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px dashed #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 验证码闪烁效果 */
@keyframes codeBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.show2fa-content h2#code.blinking {
    animation: codeBlink 1s infinite;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    border-color: #fd79a8;
    color: #d63031;
}

/* 验证码悬停效果 */
.show2fa-content h2#code:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* 验证码复制反馈效果 */
.show2fa-content h2#code.copied {
    background: linear-gradient(135deg, #55efc4, #00b894);
    color: white;
    border-color: #00b894;
    animation: none;
}

/* 闪烁动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.show2fa-content h2#code:active {
    animation: pulse 0.2s;
}

/* 复制成功提示 */
.show2fa-content p#flash_id {
    background-color: #00b894;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    margin: 15px 0;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
    animation: fadeInOut 2s ease;
    margin-bottom: 20px;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* 倒计时样式 */
.show2fa-content #timestp {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
    background-color: #fff5f5;
    padding: 5px 15px;
    border-radius: 6px;
    display: inline-block;
    min-width: 60px;
    transition: all 0.3s ease;
}

/* 倒计时警告效果 */
.show2fa-content #timestp.warning {
    color: #e74c3c;
    background-color: #ffeaa7;
    animation: warningBlink 1s infinite;
}

@keyframes warningBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* 说明文字样式 */
.show2fa-content p i {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 链接样式 */
.show2fa-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--color-primary);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.show2fa-content a:hover {
    color: var(--color-primary-hover);
    border-bottom: 1px solid var(--color-primary-hover);
}

/* URL显示区域样式 */
.show2fa-content a[target="_blank"] {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    margin: 5px 0;
    word-break: break-all;
    text-align: left;
    max-width: 100%;
    overflow-wrap: break-word;
}

.show2fa-content h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.show2fa-content p {
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .show2fa-content {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .show2fa-content h1 {
        font-size: 22px;
    }

    .show2fa-content h2#code {
        font-size: 40px;
        letter-spacing: 8px;
        padding: 20px 15px;
        min-height: 90px;
    }

    .show2fa-content input[type="text"],
    .show2fa-content input[type="button"] {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .show2fa-content h1 {
        font-size: 20px;
    }

    .show2fa-content h2#code {
        font-size: 32px;
        letter-spacing: 6px;
        padding: 18px 12px;
        min-height: 80px;
    }

    .show2fa-content p {
        font-size: 15px;
    }

    .show2fa-content input[type="text"] {
        padding: 12px 15px;
        font-size: 15px;
    }

    .show2fa-content input[type="button"] {
        padding: 12px 20px;
        font-size: 15px;
    }
}