/* 重置密码容器 */
.reset-password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 20px;
    background-color: var(--background-color);
}

.reset-password-box {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-base);
}

.reset-password-box h1 {
    margin: 0 0 30px;
    text-align: center;
    font-size: 24px;
    color: var(--text-color);
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color-secondary);
    transition: all var(--transition-base);
}

.step-label {
    font-size: 14px;
    color: var(--text-color-secondary);
    transition: color var(--transition-base);
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 500;
}

.step.completed .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-label {
    color: var(--primary-color);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.reset-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xlarge);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    background-color: var(--background-color);
}

.reset-input:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: white;
}

.reset-button {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-xlarge);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.reset-button:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-1px);
}

.reset-button:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

/* 验证码输入组 */
.verification-code-group {
    margin-bottom: 8px;
}

.help-text {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-top: 8px;
}

/* 链接样式 */
.form-links {
    margin-top: 20px;
    text-align: center;
}

.form-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-base);
    cursor: pointer;
}

.form-link:hover {
    color: var(--primary-color-dark);
}

/* 加载状态 */
.reset-button.loading {
    position: relative;
    color: transparent;
}

.reset-button.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    .reset-password-box {
        padding: 30px 20px;
    }

    .step-label {
        font-size: 12px;
    }

    .step-number {
        width: 28px;
        height: 28px;
    }
} 