
.totp-input-group {
    margin-bottom: 1rem;
}

.totp-input-group label {
    display: block;
    font-size: 0.929rem;
    color: #4a5568;
    margin-bottom: 0.357rem;
}

#totpSecretInput {
    width: 100%;
    padding: 0.571rem 0.857rem;
    font-size: 0.929rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.571rem;
    background-color: white;
    color: #2d3748;
    outline: none;
    transition: border-color 0.3s;
}

#totpSecretInput:focus {
    border-color: #3a8ffe;
}

/* 三码卡片容器 */
.totp-cards {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 单个验证码卡片 */
.totp-card {
    flex: 1;
    min-width: 6.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.714rem;
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: 0 0.143rem 0.429rem rgba(0,0,0,0.03);
}

.totp-card-label {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.totp-code {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: #2d3748;
    font-family: monospace;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.totp-copy-btn {
    background: #edf2f7;
    color: #4a5568;
    border: none;
    border-radius: 0.428rem;
    padding: 0.357rem 0.714rem;
    font-size: 0.857rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    width: 100%;
}

.totp-copy-btn:hover {
    background: #e2e8f0;
    color: #2d3748;
}

/* 倒计时区域 */
.totp-timer {
    text-align: center;
}

.totp-countdown {
    font-size: 1rem;
    color: #718096;
    font-weight: 600;
    margin-bottom: 0.428rem;
}

.totp-progress-bar {
    height: 5px;
    background: #e2e8f0;
    border-radius: 2.5px;
    overflow: hidden;
    max-width: 12rem;
    margin: 0 auto;
}

.totp-progress-fill {
    height: 100%;
    background: #3a8ffe;
    width: 100%;
    transition: width 0.95s linear;
}